This subpackage of examples demonstrates the main mechanisms to reduce computation time. By slightly altering the example "base" which can be found in the subpackage "Network". All "StorageTankHex" inside of the substations of the buildings have been replaced by "IndirectStation".
Following changes will be shown here:
- Using a different solver such as Cvode instead of dassl
- Replacing valves by pumps
- Forbidding flow reversals to set the flow direction
- Setting the flow resistance to a linear function
- Using the sparse matrix format
A test run of a few examples yielded the following computation times in min:
- None of the four optimizations: 44 min
- Using Cvode instead of Dassl: 27 min
- Using Cvode and linearized flow resistance: 24 min
- Using Cvode and pumps instead of valves: 31 min
- Using Cvode and the sparse command: 9 min
- Using Cvode and forbidding flow reversal: tbd
- All five optimizations: tbd
Contents
Generated at 2024-11-23T19:25:52Z
by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos