Skip to content

Problems in Data Conversion with Excel of Otoole Examples #11

@HanHuiHH

Description

@HanHuiHH

$ otoole convert excel datafile simplicity.xlsx simplicity.txt config.yaml
OtooleIndexError: TechnologyFromStorage -> Indices inconsistent between config and data. Config indices are ['REGION', 'TECHNOLOGY', 'STORAGE', 'MODE_OF_OPERATION']. Data indices are ['REGION', 'TECHNOLOGY', 'STORAGE', 'YEAR'].

After I change 'MODE_OF_OPERATION' to 'YEAR' in config.yaml, the following steps of this section seems work, but there comes another problem in Model Visualization:

$otoole viz res excel simplicity.xlsx res.png config.yaml
TypeError: argument of type 'float' is not iterable

So the res.png was not created in this folder.
I'm new to OSeMOSYS, so I don't know how to solve this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions