-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write Datapackage.json #31
Comments
When initializing classes with attributes that can be either a sequence or a scalar sequence() is being called from
The Sequence class cannot be saved within a regular Datapackage. Suggestion 1:When unpacking the AdapterClass to a dict with Suggestion 2:As it is now a empty list is being returned and when deseralizing the Datapackage it is interpreted as full I would like your feedback regarding the plans on scalars within multi period feature. |
I agree with you, thank you for tackling this. We will probably have to rework this after the
Currently, the |
I gave the plumbing a try, see here, do you think thats possible to implement from the adapter side? to somehow catch it if the parameter change per period and are then written as a But lets tackle this is in a new Issue |
To be able to create an energy system from a data package, you must provide a
datapackage.json
It is necessary to write down
foreign_keys
whilstbuild_datapackage
to keep track oftimeseries
column names and resource names. (Closes #23 )Note: There is already a method within DataPackage class prepared for this purpose
The data package must provide the following information:
The path where the resource (and foreign resources) is located.
Information on fields, including their types and metadata (defaults could be used)
Foreign keys that provide additional information, such as bus data.
"Foreign keys" pointing to time series data, (different from ordinary foreign keys.)
Additionally, a dataset needs to be built to contain all the buses (whilst
build_datapackage
).To monitor and check whether code is working properly:
The text was updated successfully, but these errors were encountered: