I want to size the buffer¶
Tested for:
This tutorial is used to draw a double line network
This tutorials shows you the steps to find out the answer to the following questions:
What size does my buffer need to limit the use of a gas fired boiler?
What impact does a buffer of size X have on my network’s KPI’s?
Which of the following buffer locations is the most ideal for my network?
(possibly) What if, for the previous questions, the buffer is changed to an ATES?
(possibly) What if, for the previous questions, the heat demands are changed to an cold demand?
What pipe topology and sizes are needed for your network, with or without a buffer?
To achieve these results we use the following workflow and packages:
In the ESDL MapEditor, we draw our existing or conceptual network in which we would like to add a buffer. Furthermore, we add the specifications of our buffer, heat producer(s), pipe(s) and consumer(s) and the network temperatures. |
|
The network is loaded into the computational framework (CF), which allows us to add operational bounds (e.g. desired network pressures and velocities), prioritize producers and select the optimization goal. Finally, the CF allows the running of the optimization code from the Model Predictive Controller (MPC). |
|
Results are presented in three views: KPI viewer (optional), data viewer and the optimisation HTML. |
|
If needed, alternate specifications can be set in CF and the differences between results can be interpreted in the three views. |
Step 1 |
Setting up your map editor |
---|---|
From the ‘Project Manager Dashboard’, click on the ‘Start ESDL map editor’ button. |
|
The mapeditor is only tested on Chrome and Firefox. Therefore it is advised to use these webbrowsers. |
|
Click on the ‘Start editor’ button and log in. |
|
In the top left of the window, go to: file -> new esdl and enter the name and description. |
|
In the top left of the window, got to file -> Save to ESDL drive. Select the location and if needed add the additional network information. |
|
Go to view -> settings -> UI settings and in ‘view modes’, select CHESS. |
|
Go to view -> settings -> AssetDrawToolbar plugin -> EDR assets and locate the pipe type, insulation class and DN sizes needed for your simulation. Select the desired pipes and press the “>” button. |
|
Go to view -> settings -> AssetDrawToolbar plugin -> standard assets and locate select: ResidualHeatSource, HeatProducer, GeothermalProducer, HeatingDemand and Heatstorage and press the “>” button. |
|
Close the settings window. |
|
In the top middle of the screen, click on the second dropdown menu and select ‘Pipe’ instead of ‘electricity cable’. |
|
!note When drawing the network, it is important to constantly check that you are placing EDR assets
Step 2 |
Drawing the network |
---|---|
Locate the Asset toolbar in the lower left corner. Find the desired producer, click on the icon and click in the map in the desired location. Repeat these steps for any number of HeatingDemand(s) or HeatStorage(s). |
|
Select the Joint icon in the asset toolbar and place these in locations where pipes are split (e.g. T-joints). Also place a Joint in between the producer, buffer and pipe network. Place two Joints at each location; one for Supply and one for the Return pipes |
|
Select the desired pipe in the asset toolbar. Start drawing the pipe routing by holding the ctrl button and going from out port(s) to in port(s). For example, hover over the producer icon, locate ‘[…].OutPort – Out’, hold ctrl, left mouse click, hover over the next asset, locate ‘[…]’.InPort – In’ and left click. |
|
!note Draw the pipe(s) between joint(s) and HeatStorage(s) as followed: draw from Joint_[…].OutPort – Out to HeatStorage_[…].InPort – In if you are drawing the supply i.e. warm side.
Step 3 |
Setting up your network and asset properties |
---|---|
By left clicking on an asset, the asset properties window opens on the right side of your screen. |
|
For consumers (HeatingDemand) ensure the following specifications are filled*:
|
|
For producers (ResidualHeatSource, HeatProducer, GeothermalProducer) ensure the following specifications are filled*:
|
|
For buffers (HeatSTorage) ensure the following specifications are filled*:
|
|
For pipes ensure the following specifications are filled*:
|
|
In the top left, go Edit -> Energy carriers… In the right of the screen, select ‘Heat Commodity’ in the ‘Carrier type’ window. In the Name field, enter ‘Supply’ and enter the desired ‘Supply temperature’ in [°C]. Create another Heat Commodity named ‘Return’ with the desired ‘Return temperature’ in [°C]. Select all supply pipes and right click on one of the pipes. Click on ‘Set Carrier’ and select ‘Supply’. Repeat these steps for the return pipes. |
!note 1) The diameter menu does not add information 2) Do NOT use the Geothermal producer from the EDR database.
Step 4 |
Saving, exporting and importing your network into the computational framework (CF) |
---|---|
In the top left of the window, go to: file -> save ESDL… and select a location on your computer to store the ESDL. |
|
In the ‘Project Manager Dashboard’, click on the ‘Go to simulation tools’ button in the middle. -> local drive -> select the esdl model. |
|
Click on the ‘Import network design’ button and drag your downloaded ESDL model into the open field. |
|
Alt+Tab to find the window where you can select the location where you want the model and its results to be saved and click ‘select folder’. |
|
After the Message Log displays the text ‘Done’, CF will automatically open. |
!note If you made a mistake, you have to close CF, make changes to the ESDL model inside the ESDL MapEditor and repeat the steps starting from step 3. You can select the same save location, but if you do, you have to first delete the old model.
Step 5 |
Importing the heat demand data |
---|---|
When the computational framework (CF) has loaded, locate the ‘tasks’ window in the top left of the screen. |
|
In the bottom of the ‘tasks’ window, set the start and end time to match your demand profile data set selected in: Step 3 Setting up your network and asset properties. |
|
When using any Unittests profiledata_demand[…] demand profiles, ensure the start time starts at 01-01-2019 02:00. |
|
In the top of your ‘tasks’ window, click on the arrow in front of your model to display the possible workflows. |
|
Select the ‘Import profiles’ task and run the segment by clicking on the right button. |
|
The checkbox in front of the workflow indicates the status of the workflow: The checkmarks are relevant to workflows, for scenarios the following icon is used. The colours represent the same status as with the checkmarks. |
|
If an error occurs, information on the error can be found in the log; opened by either pressing the ‘Logs’ button in the lower left corner of the screen or by selecting the ‘logging’ tab in the lower middle of the screen. Frequent errors are:
|
|
Step 6 |
Checking and possibly modifying your heat demand(s) |
---|---|
The workflow has completed when either:
|
|
In the middle left of your screen, press the ‘Heat Demand profiles’ button to check if the right start and end time are used and the heat profile data has loaded correctly. |
|
If you want to make changes, you can do so in the white boxes. Do not forget to click the ‘apply’ button in the middle right of your screen to save your changes. |
Step 8 |
Viewing the results |
---|---|
In the lower part of your screen, click on the ‘Other Results’ tab. Go to the URL bar in the top of your screen, click on the URL link and press enter to ensure that the latest results are presented. |
|
In the lower part of your screen, click on the ‘Time Series graphs’ tab. Using the data viewer in the left of your screen in combination with this view, results of individual components over time are presented. |
!note You can use ctrl + click to view multiple parameters in the ‘Data Viewer’ tab. If you want to compare results of different scenario’s, you can use ctrl + click in the ‘Tasks’ tab. If you want to save your current selection of parameters to easily switch back you can click the star icon in the top left of your Data Viewer window, next to the ‘selections’ dropdown.
Step 9 |
Making and viewing a scenario |
---|---|
By changing the properties in step 6 and step 7 of this tutorial, it is possible to create different scenarios. Keep in mind to ‘name’ your property profiles in the ‘simulation settings’ tab accordingly and do not forget to press ‘Apply’ after making changes. |
|
After making your changes, switch to the ‘Scenario composition’ tab and click either the ‘Create’ or ‘Copy’ button in the top of your screen. Select the desired property profiles for ‘Heat Demand (refresh and modify)’ and ‘Buffer Sizing goals and constraints’. Click the ‘Apply’ button, check your simulation start and end time and run the scenario. |
Tips at the end:
The Computational Framework automatically creates an ESDL to run the ‘Run Smart Control Optimizer’ workflow. This ESDL can be found in the WiseDesignToolkit\[esdl name]\Modules\[esdl name]\mpc_buffer\model folder.
Currently, an optimalisation is possible when the model has between 500-1000 time steps (the amount of used assets does not add major complexity to the optimalisation algorithm). It is advised to use 250 time steps for initial quick-scan calculations and to increase the amount of time steps once your model is tuned to your wishes. For larger time simulations it is advised to change the ‘Simulation step’ in the ‘Scenario composition’ tab accordingly.