Skip to content

esdl time varying profile parsing#463

Open
MarkTNO wants to merge 17 commits into
mainfrom
442-timeseries-fromto-postgres-option
Open

esdl time varying profile parsing#463
MarkTNO wants to merge 17 commits into
mainfrom
442-timeseries-fromto-postgres-option

Conversation

@MarkTNO

@MarkTNO MarkTNO commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@MarkTNO MarkTNO linked an issue Apr 17, 2026 that may be closed by this pull request
@MarkTNO MarkTNO force-pushed the 442-timeseries-fromto-postgres-option branch from 04e1933 to 008e25a Compare April 18, 2026 08:51
@MarkTNO MarkTNO marked this pull request as draft April 24, 2026 12:56
Comment thread src/mesido/asset_sizing_mixin.py Outdated
from mesido.esdl.common import Asset
from mesido.esdl.esdl_additional_vars_mixin import get_asset_contraints
from mesido.esdl.profile_parser import InfluxDBProfileReader
from mesido.esdl.profile_parser import ESDLTimeVaryingProfileReader

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change this name to something else. This name sounds like the profile is changing over time, in other words the profile is different per year. Anyway all the profiles in MESIDO xxx vs time. So no need to use time in the name anyway.

Even if you just take out the "Time"in the name

Comment thread src/mesido/asset_sizing_mixin.py Outdated
from mesido.esdl.common import Asset
from mesido.esdl.esdl_additional_vars_mixin import get_asset_contraints
from mesido.esdl.profile_parser import InfluxDBProfileReader
from mesido.esdl.profile_parser import ESDLTimeVaryingProfileReader

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way we can keep the old InfluxDBProfileReader in place and add the new ESDLTimeVaryingProfileReader and then we add a warning message to the terminal that InfluxDBProfileReader will be depreciated soon or by xxxx and that they should start using ESDLTimeVaryingProfileReader.

The reason for this is that we have other non-TNO people who also uses MESIDO locally. And this way we give them a warning at least.

Comment thread src/mesido/esdl/profile_parser.py
Comment thread src/mesido/esdl/profile_parser.py
Comment thread src/mesido/esdl/profile_parser.py
@KobusVanRooyen

Copy link
Copy Markdown
Collaborator

@MarkTNO first review has been completed

@MarkTNO MarkTNO marked this pull request as ready for review June 3, 2026 16:52
@MarkTNO MarkTNO force-pushed the 442-timeseries-fromto-postgres-option branch 2 times, most recently from e23c6a9 to 6d3b1c4 Compare June 3, 2026 19:05
@MarkTNO MarkTNO force-pushed the 442-timeseries-fromto-postgres-option branch from 6d3b1c4 to 9b2c0a4 Compare June 3, 2026 19:07

@MarkTNO MarkTNO left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now enables reading from and writing to multiple profile types.
The write_result_db_profiles parameter is removed.
The esdl_profiles_output_type determines the output profile type. None (default) will not create output profiles.

Comment thread src/mesido/esdl/profile_parser.py
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

Successfully merging this pull request may close these issues.

timeseries from/to postgres option

2 participants