ait-energy / iesopt

Python wrapper for the energy system optimization framework IESopt.
MIT License
7 stars 2 forks source link

Result Extraction of single values #7

Open captnconrad opened 3 months ago

captnconrad commented 3 months ago

I am searching for a way to extrcat all results, that are not part of a timeseries.

similar to:

df = model.results.to_pandas(filter=lambda c, t, f: t == "var" and f == "value")

something like:

df = model.results.to_pandas(filter=lambda c, t, f, s: s=="None") would be useful. Where s stands for snapshot and one can enter either None or the snapshot value. To eg acces the snapshot t5.