Skip to content

Using old data files with Otoole #179

Description

@vignesh1987

Hi, I have a question on the otoole convert command. I see that the format for the simplicity data file (generated through Otoole) is slightly different from the older Gnumathprog formats. For example:
In the otoole format, the Operational life parameter is defined as in the example below

param default 1 : OperationalLife :=
SIMPLICITY ETHPLANT 30
SIMPLICITY GRID_EXP 50
;

In the older data file format, it used to be as in the example below. where the region index is defined as a group.

param OperationalLife default 1 : 
ETHPLANT GRID_EXP :=
SIMPLICITY 30 50
;

I get the following error when I want to use Otoole to convert old data files to CSV or Excel.

TypeError: object of type 'TabularRecord' has no len()

Is there an easier way to work around this issue?
Attached is the older data file I am referring to:
data_lao.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions