Skip to content

Commit

Permalink
exampels: Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
stroitzsch committed Oct 8, 2023
1 parent da643c8 commit f20ff4b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/development/entrypoint_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
def main():
# Settings.
scenario_name = "singapore_geylang"
# TODO: Split singapore_all into 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 @@ -14,6 +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
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 @@ -23,6 +25,10 @@ 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 f20ff4b

Please sign in to comment.