Skip to content
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

Better results format #258

Open
j-brendel opened this issue Apr 8, 2021 · 1 comment
Open

Better results format #258

j-brendel opened this issue Apr 8, 2021 · 1 comment
Assignees

Comments

@j-brendel
Copy link
Contributor

As output of the smooth simulation a format is nedded that fulfils certain criteria:

  • Readibility: The results should be easily readible, also for persons, that don't use smooth (like .csv/.json...)
  • Reproducibility: The results should contain all information needed to reproduce them: This includes
    • The simulated model
    • The SMOOTH version (commit-tag?) used to produce the results
    • more?
  • Completeness: All relevant results should be accessible. In the .pickle files created now, e.g. the external components costs are not stored
@j-brendel
Copy link
Contributor Author

One idea would be to

  • safe the dictionaries (results and model) into a .json file
  • also use the .json file for input

idea of the .json file:

It should be only one file, that can be used for simulation and for optimization.

for input:
{
model: {
'busses': busses,
'components': components,
'sim_params': sim_params,
}
}

  • remember optimzation params

for output:
{
model: {
'busses': busses,
'components': components,
'sim_params': sim_params,
},
results: {
chosen_model{}
}
}

Beware: Lambda functions in model definition on optimization -> talk to stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants