Skip to content

442 timeseries fromto postgres option#175

Closed
MarkTNO wants to merge 388 commits into
Project-OMOTES:masterfrom
Multi-Energy-Systems-Optimization:442-timeseries-fromto-postgres-option
Closed

442 timeseries fromto postgres option#175
MarkTNO wants to merge 388 commits into
Project-OMOTES:masterfrom
Multi-Energy-Systems-Optimization:442-timeseries-fromto-postgres-option

Conversation

@MarkTNO

@MarkTNO MarkTNO commented Apr 17, 2026

Copy link
Copy Markdown

No description provided.

KobusVanRooyen and others added 30 commits May 16, 2024 14:34
…have any initial value, but keeping cyclic constraint active, thus ensuring initial value is equal to final timestep
…sido-right-to-play

Documentation update:
In this merge request:

The ESDL file requirements at the convert functions
A first version of the Heat physics based upon the GROW paper but text largly rewritten
A first new written version for asset sizing and financial
place holder pages for the electricity and gas
A first page for the EndScenario workflow
Not in this merge request:

toturial for the NWN design toolkit.
…optmimized-pipe-dn-not-updated-in-esdl

74 bug optmimized pipe dn not updated in esdl
- use set data structure instead of a list
KobusVanRooyen and others added 27 commits December 9, 2025 15:24
* use markes and combine main testing
A new bidirectional dictionary for the pipe relationships has been setup.
Backwards compatibility is secured by checking the ESDLversion, if older than 21.10, the former _ret pipe relation is used.
Fix on the definition for hot_pipes, this now only contains pipes that have a relation to a cold_pipe, else it is added to the list of unrelated pipes.
Be aware, unrelated pipes significantly increase the computational effort.
* updated problematic test case
Clean up of code, with the biggest changes being:
Removed code duplication for updating pipe_classes
Generating base class for start of optimization problem.
Removed code duplication by improving the inheritance structure of assets.
Create new structure for passing database settings to the optimizer
Removing binary charging variable for batteries, thereby also updating the charging and discharging variables in the multicommodity simulator. 
If required the binary is_charging variable can still be added/used by setting an option.
Rollout workflow updated with 
- heat buffer added to cost of fixed and variable opex.
- adding generic maps for asset
- code clean up
Costs of available pipe classes are updated based on the asset measures and templates if they are provided.
Updated @main_decorator
Black version updated to 26.1.0 as the minimum version. All style adaptations included
Add Heat Source Elec and Elec Heat Source Elec (e-boiler) as a heat producer to DTK:
Heat Source Elec is an e-boiler asset with 2 ports. Elec Heat Source Elec is an e-boiler asset with 3 ports.

 
New asset type named elec_heat_source_elec which is connected to a cable with electricity usage (asset with 3 ports) and rename elec_boiler asset as heat_source_elec for e-boiler which not connected to cable (asset with 2 ports). 

Variable operation cost is liked to consumed electricity power (EUR/MW_e).

Now these assets are supported by DTK
- grow_workflow catering for heating and cooling
- added cooling assets
 ASSET_COST_REQUIREMENTS dictionary for ATES in asset_to_component_base is updated
 Existing test_end_scenario_sizin is updated so that the calculation of variable operational cost of ates is verified.
 Created a new asset type named gas_heat_source_gas which is connected to a gas pipe with gas usage (asset with 3 ports) and rename gas_boiler asset as heat_source_gas for gas heater which not connected to gas pipe (asset with 2 ports). 


Variable operation cost is liked to consumed gas normal volume (EUR/Nm3).
added vectorization when summation over timesteps is applied
fix indeed additional slicing of priceprofile is required
vectorizing adding constraint for multiple timesteps
removing for loop over time in asset_sizing_mixin
fix bug in heat exchanger post processing for DTK
new release
fix pipeline issues due to setuptools versioning
ElectricBoiler asset is added to KPI of output esdl
Speed up timeseries delta time check, from 0.5s for the PoCtutorial to <0.1s. Timeseries check linearly grows with the number of profiles.
The parsing of timeseries for ensembles, supported when providing as csv inputs.
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.