Skip to content

Commit

Permalink
examples: Amend todos
Browse files Browse the repository at this point in the history
  • Loading branch information
stroitzsch committed Oct 9, 2023
1 parent 76af995 commit 17204ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions examples/development/entrypoint_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def main():
# Settings.
scenario_name = "singapore_geylang"
# TODO: Split singapore_all into folder
# TODO: Split singapore_all scenario into separate folder

results_path = mesmo.utils.get_results_path("run_operation_problem", scenario_name)
results = mesmo.api.run_nominal_operation_problem(scenario_name, results_path=results_path, store_results=False)
Expand All @@ -15,7 +15,7 @@ def main():
# results = mesmo.problems.Results().load(results_path)
run_results = results.get_run_results()

# TODO: Return JSON object, should probably take run_id as input
# TODO: Return JSON object, function should take run_id as input
mesmo.plots.der_active_power_time_series(run_results, results_path)
mesmo.plots.der_reactive_power_time_series(run_results, results_path)
mesmo.plots.der_apparent_power_time_series(run_results, results_path)
Expand All @@ -25,10 +25,6 @@ def main():
mesmo.plots.node_voltage_per_unit_time_series(run_results, results_path)
mesmo.plots.node_aggregated_voltage_per_unit_time_series(run_results, results_path)

# TODO: RuntimeError: no validator found for <class 'pandas.core.indexes.base.Index'>, see `arbitrary_types_allowed` in Config
# TODO: File "D:\py_venvs\_PyCodes\SebastianT_VP_Test\mesmo_repo\mesmo\data_models\model_index.py", line 8, in <module> class ElectricGridModelIndex(base_model.BaseModel):
# TODO: python 3.8.10, pydantic 1.10.12 -> move to poetry

# Print results path.
mesmo.utils.launch(results_path)
print(f"Results are stored in: {results_path}")
Expand Down

0 comments on commit 17204ed

Please sign in to comment.