Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
00b716d
Merge branch '125-Source' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 16, 2025
e8c3ac4
Merge branch '125-SinkPQ' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 16, 2025
5f4bbef
Merge branch '125-SourceP' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 16, 2025
adb13a6
#125 TwoPhase medium for StodaTurbine, constrainedby medium to subC m…
bmazurie Jun 16, 2025
35afdf7
#125 RefQ
Jun 16, 2025
6f01879
#125 changed constrainedby medium
bmazurie Jun 16, 2025
b0eabcb
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-RefT'
bmazurie Jun 16, 2025
474b695
#125 Edit VolumeA to change the constrainedby medium
bmazurie Jun 16, 2025
b96ef82
Merge branch 'VolumeA' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 16, 2025
6a169be
#125 ControlValve changed constrainedby medium
bmazurie Jun 16, 2025
d200a04
Merge branch '125-ControlValve' into '125-mediumsImplementation-in-Fl…
bmazurie Jun 16, 2025
dea3005
#125 RefQ - Removed useless X declaration and equation
Jun 16, 2025
caa3baf
#125 RefP
Jun 16, 2025
c61aacb
#125-LumpedStraightPipe
Jun 16, 2025
0d49afd
staticcentrifugalpump
Jun 19, 2025
046a559
VolumeB
Jun 19, 2025
07ddfe0
VolumeD
Jun 19, 2025
1eed3e0
VolumeI
Jun 19, 2025
97fd547
Bend
Jun 19, 2025
dc8e849
CheckValve
Jun 19, 2025
52b91e8
Diaphragm
Jun 19, 2025
f4f77c6
DynamicCheckValve
Jun 19, 2025
353b7c8
IdealCheckValve
Jun 19, 2025
b290da4
IdealSwitchValve
Jun 19, 2025
eff4e76
SwitchValve
Jun 19, 2025
42bfdf6
DynamicReliefValve
Jun 19, 2025
e403469
Merge branch '125-RefP' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
cd109df
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-RefQ'
bmazurie Jun 20, 2025
f54a412
Merge branch '125-RefQ' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
e9e327e
#125 VolumeB reviewed
bmazurie Jun 20, 2025
2d31b70
corrections
Jun 20, 2025
4fe6c3b
Merge branch '125-VolumeB' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
9eec8b0
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-VolumeD'
bmazurie Jun 20, 2025
f03e254
#125 VolumeD reviewed + startValues for FlueGases examples
bmazurie Jun 20, 2025
bf321be
Merge branch '125-VolumeD' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
f6a0297
corrections
Jun 20, 2025
74bebfa
#125 Bend reviewed
bmazurie Jun 20, 2025
e2e46ed
#125 Bend units modified
bmazurie Jun 20, 2025
8b060a3
corrections
Jun 20, 2025
93b288b
Merge branch '125-Bend' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
3159619
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Diaphr…
bmazurie Jun 20, 2025
2aea315
dernieres corrections
Jun 20, 2025
734be47
#125 Diaphragm reviewed
bmazurie Jun 20, 2025
4017608
#125 Diaphragm reviewed, annotation
bmazurie Jun 20, 2025
f19866d
Merge branch '125-Diaphragm' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 20, 2025
4e287db
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-IdealC…
bmazurie Jun 20, 2025
523e306
#125 IdealCheckValve reviewed
bmazurie Jun 20, 2025
6a70c19
Merge branch '125-IdealCheckValve' into '125-mediumsImplementation-in…
bmazurie Jun 20, 2025
710a2e2
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Dynami…
bmazurie Jun 20, 2025
dc02c5f
#125 DynamicReliefValve reviewed
bmazurie Jun 20, 2025
7672e91
Merge branch '125-DynamicReliefValve' into '125-mediumsImplementation…
bmazurie Jun 20, 2025
5bdf341
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Switch…
bmazurie Jun 20, 2025
8a91b6f
#125 SwitchValve reviewed
bmazurie Jun 20, 2025
aa0de2e
Merge branch '125-SwitchValve' into '125-mediumsImplementation-in-Flu…
bmazurie Jun 20, 2025
c58f843
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-IdealS…
bmazurie Jun 20, 2025
053e17b
#125 IdealSwitchValve reviewed
bmazurie Jun 20, 2025
7e4dc6a
Merge branch '125-IdealSwitchValve' into '125-mediumsImplementation-i…
bmazurie Jun 20, 2025
6dcfc7a
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Dynami…
bmazurie Jun 20, 2025
6ab1bb2
#125 DynamicCheckValve reviewed
bmazurie Jun 20, 2025
21a805b
Merge branch '125-DynamicCheckValve' into '125-mediumsImplementation-…
bmazurie Jun 20, 2025
25bc6ec
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-CheckV…
bmazurie Jun 20, 2025
ab78acb
#125 CheckValve reviewed
bmazurie Jun 20, 2025
533a70e
Merge branch '125-CheckValve' into '125-mediumsImplementation-in-Flui…
bmazurie Jun 20, 2025
f2d26d7
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-VolumeI'
bmazurie Jun 20, 2025
b9af018
#125 VolumeI reviewed
bmazurie Jun 20, 2025
d097dab
Merge branch '125-VolumeI' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jun 20, 2025
d6b87ef
#125 StaticCentrifugalPump reviewed
bmazurie Jun 20, 2025
d5fe041
Merge branch '125-StaticCentrifugalPump' into '125-mediumsImplementat…
bmazurie Jun 20, 2025
37bd39d
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-RefT'
bmazurie Jun 20, 2025
62a1776
#125 OnePhaseFlowPipe
bmazurie Jun 20, 2025
ba39415
VolumeATh
Jun 23, 2025
11a7658
VolumeBTh
Jun 23, 2025
f6fd332
VolumeCTh
Jun 23, 2025
2e97e32
VolumeDTh
Jun 23, 2025
17bcff9
VolumeITh
Jun 23, 2025
c742d55
corrections
Jun 23, 2025
6e5a97b
corrections
Jun 23, 2025
14625a9
corrections
Jun 23, 2025
75c9f9f
CentrifugalPump
Jun 24, 2025
8102b72
#125 VolumeAth with heatSource, not working with OM1.25
bmazurie Jun 24, 2025
8e00bd4
examples with heat source
Jun 24, 2025
8196f42
Examples with heat source
Jun 24, 2025
bc3bab0
Examples with heat source
Jun 25, 2025
5270e5c
Examples with heat source
Jun 25, 2025
7339f10
#125 no more IF97 annotation
bmazurie Jun 27, 2025
b949df0
Merge branch '125-VolumeATh' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 27, 2025
07f6d3a
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Volume…
bmazurie Jun 27, 2025
900f9c4
#125 VolumeBth
bmazurie Jun 27, 2025
96b6df1
Merge branch '125-VolumeBTh' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 27, 2025
dde0c82
#125 IF97 imports
bmazurie Jun 27, 2025
8904152
Merge branch '125-DynamicOnePhaseFlowPipe' into '125-mediumsImplement…
bmazurie Jun 27, 2025
2f9c617
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Volume…
bmazurie Jun 27, 2025
4c05a61
#125 VolumeCth reviewed
bmazurie Jun 27, 2025
550806e
Merge branch '125-VolumeCTh' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 27, 2025
497b8b8
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Volume…
bmazurie Jun 27, 2025
79ec2fb
#125 VolumeDth reviewed
bmazurie Jun 27, 2025
fd4b220
Merge branch '125-VolumeDTh' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 27, 2025
06de5b8
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Volume…
bmazurie Jun 27, 2025
6976352
#125 VolumeIth reviewed
bmazurie Jun 27, 2025
d75a314
Merge branch '125-VolumeITh' into '125-mediumsImplementation-in-Fluid…
bmazurie Jun 27, 2025
7d62861
#125 CentrifugalPump reviewed
bmazurie Jun 27, 2025
60c1d98
Merge branch '125-CentrifugalPump' into '125-mediumsImplementation-in…
bmazurie Jun 27, 2025
9168f58
#125 StodolaTurbine no X in setStates
bmazurie Jul 2, 2025
1d7ebe4
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Stodol…
bmazurie Jul 2, 2025
9790eeb
#125 no more X declaration in StodolaTurbine
bmazurie Jul 2, 2025
37c773e
Removed X balance equation
Jul 2, 2025
b5dea3f
Included X balance equation for completeness (undid last commit)
Jul 2, 2025
0495bea
Merge branch '125-StodolaTurbine' into '125-mediumsImplementation-in-…
bmazurie Jul 2, 2025
00673bb
#125 Tank
bmazurie Jul 2, 2025
a86b257
#125 Tank with traces example
bmazurie Jul 2, 2025
7834127
Merge branch '125-Tank' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jul 2, 2025
20bd0f1
#125 Sensors
bmazurie Jul 3, 2025
50bb2e0
#125 SensorT without X redeclaration
bmazurie Jul 3, 2025
9b2d7a9
Simplified sensor T et Qv : removed unused variables, transformed fac…
Jul 3, 2025
2544d63
rebase conflict #125 RefT
Jun 13, 2025
703f2ad
Merge branch '125-RefT' of https://gitlab.pam-retd.fr/thermosysproand…
bmazurie Jul 3, 2025
a5a4479
#125 Splitter2 and Mixer2
bmazurie Jul 3, 2025
21d55fd
#125 LoopBreakers, P has its examples
bmazurie Jul 3, 2025
5cd46a0
#125 Refs and LoopBreakers
bmazurie Jul 3, 2025
3c5cfc8
#125 An example from RefP had disappeared
bmazurie Jul 3, 2025
cae25d2
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-Lumped…
bmazurie Jul 4, 2025
fa6f8d5
#125 LumpedStraightPipe for FlueGases
bmazurie Jul 4, 2025
78c4152
#125 LumpedStraightPipe no more region
bmazurie Jul 4, 2025
4227338
Merge branch '125-LumpedStraightPipe' into '125-mediumsImplementation…
Jul 4, 2025
0360cc0
#125 DeheaterMixer2
bmazurie Jul 6, 2025
385e69b
#125 MassFlowMultiplier
bmazurie Jul 6, 2025
39c9990
#125 Mixer3
bmazurie Jul 6, 2025
aa7ca91
#125 Mixer3
bmazurie Jul 6, 2025
a2d4f6e
#125 Mixer8's examples
bmazurie Jul 6, 2025
8ba766f
#125 Splitter3
bmazurie Jul 7, 2025
21b74bd
#125 constrainedby package for Refs
bmazurie Jul 7, 2025
d761350
#125 StaticDrum
bmazurie Jul 7, 2025
d03bcdd
Merge branch '125-Sensors' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jul 7, 2025
a68699e
Modified some values in examples
Jul 7, 2025
57d9731
#125 Reformat
bmazurie Jul 7, 2025
3a207f6
Merge branch '125-LoopBreakers' into '125-mediumsImplementation-in-Fl…
bmazurie Jul 7, 2025
b432fc3
#125 StaticExchangerKS
bmazurie May 7, 2026
d767a9e
#125 StaticPlateHeatExchanger
bmazurie May 7, 2026
5c83340
#125 SimpleDynamicCondenser
bmazurie May 7, 2026
498735b
#125 SimpleStaticCondenser
bmazurie May 7, 2026
700ccd5
#125 StaticCondenser
bmazurie May 7, 2026
b69755e
#125 StaticCondenserHEI
bmazurie May 7, 2026
15a6faa
#125 FixedPowerHeatExchanger but examples not working right now
bmazurie May 7, 2026
723d7fc
#125 NTUWaterHeater
bmazurie May 7, 2026
952bcf8
#125 StaticExchangerDTorWorEff
bmazurie May 8, 2026
668435b
#125 StaticWallFlueGasesExchanger
bmazurie May 8, 2026
555cb0e
#125 DynamicPlateHeatExchanger but issues with examples
bmazurie May 11, 2026
cbb6f73
#125 volatile example media
bmazurie May 11, 2026
b13b19c
#125 SimpleDynamicCondenser SubC balance but example strange
bmazurie May 11, 2026
3e4c3f0
#125 DynamicDrum
bmazurie May 12, 2026
796d8b0
#125 TwoPhaseVolume
bmazurie May 12, 2026
8eaea38
#125 DynamicOnePhaseFlowShell
bmazurie May 12, 2026
cf9355b
#125 Pressurizer
bmazurie May 12, 2026
ef08602
#125 TankHorizontal
bmazurie May 12, 2026
e894218
#125 Example fixed for SimpleDynamicCondenser
bmazurie May 12, 2026
55c45f5
#125 SimpleEvaporatorWaterSteamFlueGases
bmazurie May 12, 2026
2796e7f
#125 DynamicTwoPhaseFlowPipe
bmazurie May 12, 2026
bdcb80a
#125 DynamicTwoPhaseFlowRiser
bmazurie May 12, 2026
5979baa
#125 DynamicTwoPhaseFlowRiser
bmazurie May 12, 2026
a5bf4e8
#125 TwoPhaseCavity
bmazurie May 12, 2026
49c0e86
#125 TwoPhaseCavityOnePipe
bmazurie May 12, 2026
d1073aa
#125 modified StaticDrum for subC balance
bmazurie May 12, 2026
8cc4569
#125 InvSingularPressureLoss and LumpedStraightPipe
bmazurie May 12, 2026
ba1afaf
#125 StaticAerocondenser, example not working yet
bmazurie May 12, 2026
c3bced5
#125 StaticAerocondenser, example not working yet
bmazurie May 12, 2026
6aac265
#125 StaticAerocondenser with working example
bmazurie May 13, 2026
3d9a3c1
#125 ThreeWayValve
bmazurie May 13, 2026
02de5c9
#125 HeatExchangers with examples
bmazurie May 18, 2026
3e39bd4
125 Sensors
bmazurie Jul 3, 2025
452e305
#125 SensorT without X redeclaration
bmazurie Jul 3, 2025
4666d38
Simplified sensor T et Qv : removed unused variables, transformed fac…
Jul 3, 2025
2d7a532
conflict #125-LumpedStraightPipe
Jun 16, 2025
977c98b
125 LumpedStraightPipe for FlueGases
bmazurie Jul 4, 2025
09fbe1f
#125 CombustionTurbine
bmazurie Jul 4, 2025
d40a610
#125 Compressor
bmazurie Jul 4, 2025
fed0621
conflict #125 AirHumidity
bmazurie Jul 4, 2025
0e3bfa6
#125 Fan without example
bmazurie Jul 4, 2025
28424fe
#125 example for StaticFan but no init, need to try implicit declarat…
bmazurie Jul 4, 2025
66cb469
125-LumpedStraightPipe
Jun 16, 2025
5debdb0
125 LumpedStraightPipe for FlueGases
bmazurie Jul 4, 2025
a3cf6be
#125 Easier Fan example
bmazurie Jul 6, 2025
8010158
#125 SteamEngine
bmazurie Jul 6, 2025
495dad4
125 SteamExtractionSplitter and small fixes on SteamEngines examples
bmazurie Jul 6, 2025
f9dbeed
#125 LumpedStraightPipe fixed after rebase
bmazurie May 19, 2026
11b3778
#125 Boilers subpackage
bmazurie May 19, 2026
2040b69
#125 Combustion chambers with examples
bmazurie May 19, 2026
8462ec8
#125 GridFurnace and PostCombustionGas dont use pro anymore but Therm…
bmazurie May 19, 2026
d40a32a
#125 RefH with examples
bmazurie May 19, 2026
3455d6c
#125 CHPEngineBarkantineSystem and InternalCombustionEngine
bmazurie May 19, 2026
257ce97
#125 GasTurbine
bmazurie May 19, 2026
bed2e26
#125 C3H3F5 media
bmazurie May 19, 2026
62b54a4
#125 HeatPumpCompressor with C3H3F5
bmazurie May 19, 2026
24ceb03
#125 modif C3H3F5 so that closer to old implementation, and Oil Medium
bmazurie May 19, 2026
6a365f0
#125 WaterSteamSimple MoltenSalt and DryAirIdealGas
bmazurie May 19, 2026
ca2825b
#125 ThermoSysPro.Fluid.Examples.Book.SimpleExamples except HX
bmazurie May 19, 2026
3155c90
#125 ThermoSysPro.Fluid.Examples.Book.SimpleExample.HX but not all wo…
bmazurie May 20, 2026
bbf765c
#125 HX exemples inside SimpleExamples
bmazurie May 22, 2026
ad25437
Merge branch '125-GasTurbine-Fan' into '125-HX'
bmazurie Jun 8, 2026
5b59c63
Merge branch '125-leftJunctions' into '125-mediumsImplementation-in-F…
bmazurie Jun 8, 2026
225c63d
Merge branch '125-mediumsImplementation-in-FluidTSP' into '125-HX'
bmazurie Jun 8, 2026
631e4af
#125 issue with the rebase
bmazurie Jun 8, 2026
0455263
#125 changed some init for examples
bmazurie Jun 9, 2026
c3dd61d
Merge branch '125-HX' into '125-mediumsImplementation-in-FluidTSP'
bmazurie Jul 24, 2026
791b649
#125 added subC0 to PlugA for example
bmazurie Jul 24, 2026
b3dfa7d
#125 port media foundation onto develop
bmazurie Jul 24, 2026
3d5457c
#125 port Fluid boundary conditions medium support onto develop
bmazurie Jul 24, 2026
b114193
#125 port Fluid junctions medium support onto develop
bmazurie Jul 24, 2026
27cc506
#125 port Fluid volumes medium support onto develop
bmazurie Jul 24, 2026
7d96f31
#125 port Fluid loop breakers and sensors medium support onto develop
bmazurie Jul 24, 2026
aa730d5
#125 port Fluid pressure losses medium support onto develop
bmazurie Jul 24, 2026
6100585
#125 port Fluid machine components medium support onto develop
bmazurie Jul 24, 2026
3e98606
#125 fix loop breaker composition isolation
bmazurie Jul 24, 2026
571ca9a
#125 port Fluid combustion chambers and gas turbine medium support on…
bmazurie Jul 24, 2026
d6d460a
#125 port static Fluid heat exchangers medium support onto develop
bmazurie Jul 24, 2026
6d8a58e
#125 port dynamic Fluid heat exchanger core medium support onto develop
bmazurie Jul 24, 2026
e92c7c5
#125 port dynamic Fluid heat exchanger assemblies medium support onto…
bmazurie Jul 24, 2026
fd9a210
#125 port dynamic Fluid heat exchanger models medium support onto dev…
bmazurie Jul 24, 2026
e1994c3
#125 port Fluid steam generators medium support onto develop
bmazurie Jul 24, 2026
f900e06
#125 port Fluid boilers and CHP engine medium support onto develop
bmazurie Jul 24, 2026
5c2fc59
#125 port Fluid media and junction examples onto develop
bmazurie Jul 24, 2026
3a49575
#125 restore Fluid icon color inheritance
bmazurie Jul 24, 2026
be3470f
#125 port remaining Fluid SimpleExamples onto develop
bmazurie Jul 24, 2026
e1ae6a3
#125 port Fluid book examples medium support onto develop
bmazurie Jul 27, 2026
2e85930
#125 defer PTSC oil medium example port
bmazurie Jul 27, 2026
7b4e9c3
#125 set ThermoSysPro package version to 5.0
bmazurie Jul 27, 2026
769a3e7
#125 tests for Fluid Examples with omc
bmazurie Jul 27, 2026
c8a7181
Record original #125 medium implementation history
bmazurie Jul 27, 2026
66264ae
relativeVolatility and equilibriumPartition instead of PhasesSeparati…
bmazurie Nov 18, 2026
528714f
Merge pull request #235 from EDF-Lab/125-relativeVolatility_Replace_P…
bmazurie Nov 18, 2026
8ae6835
The Medium port of DynamicTwoPhaseFlowPipe evaluated viscosity and th…
bmazurie Nov 18, 2026
f5a2f98
Merge pull request #236 from EDF-Lab/fix/125-DynamicTwoPhaseFlowPipe-…
bmazurie Nov 18, 2026
744a323
The energy balance of the combustion components subtracts the reference
bmazurie Nov 19, 2026
c3494ee
Port InternalCombustionEngine to Medium flue gases and fix TestGeneri…
bmazurie Nov 19, 2026
e24f4e5
Merge pull request #237 from EDF-Lab/fix/125-combustion-reference-ent…
bmazurie Nov 19, 2026
c55e1b7
#125 PTSC example
bmazurie Sep 17, 2026
76efbff
CombinedCycle_Load_100_50 Fluid ok with Dymola26x
bmazurie Nov 19, 2026
c73da4f
Merge pull request #238 from EDF-Lab/feature/125-complexFluidExamples
bmazurie Nov 19, 2026
b5073cf
Remove component region parameter in 4 components and an example whic…
bmazurie Nov 19, 2026
0919545
CombinedCycle_TripTAC fluid ok with Dymola
bmazurie Nov 19, 2026
abb5df1
Merge pull request #239 from EDF-Lab/fix/125-remove-component-region-…
bmazurie Nov 19, 2026
cc49582
Replaceable trace partition law in the two-phase Fluid components
bmazurie Nov 19, 2026
ab6e83a
Fixed Fluid DynamicPlateHeatExchanger as in WaterSteam
bmazurie Nov 20, 2026
ad951c0
Merge pull request #241 from EDF-Lab/fix/125-dynamic-plate-heat-excha…
bmazurie Nov 20, 2026
cb0884b
Added geom to SG and deleted 4SG
bmazurie Nov 20, 2026
ad0101f
Merge pull request #242 from EDF-Lab/feature/125-fluid-steam-generato…
bmazurie Nov 20, 2026
10193cd
fix trace balance for Qevap/Qcond if negative
bmazurie Nov 23, 2026
410ac0a
Fix Fluid example to copy WS one
bmazurie Nov 23, 2026
f70dce5
Merge pull request #243 from EDF-Lab/fix/125-trace-transfer-direction
bmazurie Nov 23, 2026
e442d63
Merge branch 'feature/125-mediumsImplementation-in-FluidTSP-on-develo…
bmazurie Nov 23, 2026
53e309f
Merge pull request #240 from EDF-Lab/feature/125-component-trace-part…
bmazurie Nov 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .test/config_new_openmodelica.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"libs": {
"ThermoSysPro": {
"path": "../../ThermoSysPro/package.mo",
"models_filter": "(?<!Fluid\\.)\\bExamples\\b(?!\\.Control\\b)",
"models_filter": "^ThermoSysPro\\.Fluid\\.Examples\\.(?!Control\\b)",
"vars_filter": ".*\\.(T|P|Q|h)"
}
}
Expand Down
180 changes: 139 additions & 41 deletions ThermoSysPro/Fluid/Boilers/BoilerSystem.mo
Original file line number Diff line number Diff line change
@@ -1,48 +1,146 @@
within ThermoSysPro.Fluid.Boilers;

model BoilerSystem "Boiler"
extends ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.FlueGasesFluidTypeParameterInterface;
extends ThermoSysPro.Fluid.Interfaces.IconColors;
import ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.FluidType;
import ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.IF97Region;
parameter Units.SI.Temperature Tsf = 423.16 "Flue gases temperature at the outlet";

replaceable package Medium = ThermoSysPro.Properties.Media.WaterSteam constrainedby ThermoSysPro.Properties.Media.PartialSubCMedium "Medium model for the water/steam side" annotation (choicesAllMatching=true, Dialog(tab="Fluid", group="Medium"));
replaceable package Medium_FlueGases = ThermoSysPro.Properties.Media.FlueGases constrainedby ThermoSysPro.Properties.Media.PartialSubCMedium "Medium model for the flue gases side" annotation (choicesAllMatching=true, Dialog(tab="Fluid", group="Medium"));

parameter Units.SI.Temperature Tsf=423.16
"Flue gases temperature at the outlet";
parameter Integer Boiler_efficiency_type = 1 "1: Taking into account LHV only - 2: Using the total incoming power";
parameter ThermoSysPro.Units.xSI.PressureLossCoefficient Kf = 0.05 "Flue gases pressure loss coefficient";
parameter ThermoSysPro.Units.xSI.PressureLossCoefficient Ke = 1e4 "Water/steam pressure loss coefficient";
parameter Real etacomb = 1 "Combustion efficiency (between 0 and 1)";
parameter Units.SI.Power Wloss = 1e5 "Thermal losses";
parameter Units.SI.MassFlowRate gamma_diff_ws = 1e-4 "Diffusion conductance for the water/steam side (active if diffusion=true in neighbouring volumes)";
parameter Boolean continuous_flow_reversal = false "true: continuous flow reversal - false: discontinuous flow reversal";
parameter Boolean diffusion = false "true: energy balance equation with diffusion - false: energy balance equation without diffusion";
parameter IF97Region region = IF97Region.All_regions "IF97 region (active for IF97 water/steam only)" annotation(
Evaluate = true,
Dialog(enable = (ftype == FluidType.WaterSteam), tab = "Fluid", group = "Fluid properties"));
ThermoSysPro.Fluid.Combustion.BoundaryConditions.FuelSourcePQ Fuel(Xashes = 0.011, rho = 1000, Hum = 0.50, Xc = 0.2479, Xh = 0.0297, Xo = 0.2088, Xn = 0.0017, Xs = 0.0003, LHV = 1.5e7, Q0 = 0.0407331, T0 = 294.45) annotation(
Placement(transformation(extent = {{-56, -10}, {-36, 10}}, rotation = 0)));
ThermoSysPro.Fluid.Boilers.FossilFuelBoiler Boiler(Qsf(start = 45.8744, fixed = false), Pee(fixed = false), Qe(fixed = false, start = 6), Hee(fixed = false, start = 293.1e3), Hse(fixed = false, start = 377e3), Tsf = Tsf, exc_air(fixed = false, start = 10), Wloss = Wloss, Wboil(start = 1600e3, fixed = false), gamma_diff_ws = gamma_diff_ws, continuous_flow_reversal = continuous_flow_reversal, diffusion = diffusion, Boiler_efficiency_type = Boiler_efficiency_type, Kf = Kf, Ke = Ke, etacomb = etacomb, Pse(fixed = false, start = 200000), Tse(fixed = false, start = 363.16), Tf(fixed = false, start = 1600)) annotation(
Placement(transformation(origin = {-10, 0}, extent = {{20, -20}, {-20, 20}}, rotation = 270)));
Interfaces.Connectors.FluidInlet InletWaterSteam "Water inlet" annotation(
Placement(transformation(extent = {{40, -110}, {60, -90}}, rotation = 0)));
Interfaces.Connectors.FluidOutlet OutletWaterSteam "Water/steam outlet" annotation(
Placement(transformation(extent = {{40, 90}, {60, 110}}, rotation = 0)));
Interfaces.Connectors.FluidOutlet OutletFlueGases "Flue gases outlet" annotation(
Placement(transformation(extent = {{-80, 90}, {-60, 110}}, rotation = 0), iconTransformation(extent = {{-80, 90}, {-60, 110}})));
Interfaces.Connectors.FluidInlet InletFlueGases "Flue gases inlet" annotation(
Placement(transformation(extent = {{-80, -110}, {-60, -90}}, rotation = 0)));
parameter ThermoSysPro.Units.xSI.PressureLossCoefficient Kf=0.05
"Flue gases pressure loss coefficient";
parameter ThermoSysPro.Units.xSI.PressureLossCoefficient Ke=1e4
"Water/steam pressure loss coefficient";
parameter Real etacomb=1 "Combustion efficiency (between 0 and 1)";
parameter Units.SI.Power Wloss=1e5 "Thermal losses";
parameter Units.SI.MassFlowRate gamma_diff_ws=1e-4
"Diffusion conductance for the water/steam side (active if diffusion=true in neighbouring volumes)";
parameter Boolean continuous_flow_reversal=false "true: continuous flow reversal - false: discontinuous flow reversal";
parameter Boolean diffusion=false "true: energy balance equation with diffusion - false: energy balance equation without diffusion";

ThermoSysPro.Fluid.Combustion.BoundaryConditions.FuelSourcePQ Fuel(
Xashes=0.011,
rho=1000,
Hum=0.50,
Xc=0.2479,
Xh=0.0297,
Xo=0.2088,
Xn=0.0017,
Xs=0.0003,
LHV=1.5e7,
Q0=0.0407331,
T0=294.45)
annotation (Placement(transformation(extent={{-56,-10},{-36,10}}, rotation=
0)));
ThermoSysPro.Fluid.Boilers.FossilFuelBoiler Boiler(
redeclare package Medium = Medium,
redeclare package Medium_FlueGases = Medium_FlueGases,
Qsf(start=45.8744, fixed=false),
Pee(fixed=false),
Qe(fixed=false, start=6),
Hee(fixed=false, start=293.1e3),
Hse(fixed=false, start=377e3),
Tsf=Tsf,
exc_air(fixed=false, start=10),
Wloss=Wloss,
Wboil(start=1600e3, fixed=false),
gamma_diff_ws=gamma_diff_ws,
continuous_flow_reversal=continuous_flow_reversal,
diffusion=diffusion,
Boiler_efficiency_type=Boiler_efficiency_type,
Kf=Kf,
Ke=Ke,
etacomb=etacomb,
Pse(fixed=false, start=200000),
Tse(fixed=false, start=363.16),
Tf(fixed=false, start=1600))
annotation (Placement(transformation(
origin={-10,0},
extent={{20,-20},{-20,20}},
rotation=270)));
Interfaces.Connectors.FluidInlet InletWaterSteam(redeclare package Medium = Medium) "Water inlet" annotation (
Placement(transformation(extent={{40,-110},{60,-90}}, rotation=0)));
Interfaces.Connectors.FluidOutlet OutletWaterSteam(redeclare package Medium = Medium) "Water/steam outlet"
annotation (Placement(transformation(extent={{40,90},{60,110}}, rotation=0)));
Interfaces.Connectors.FluidOutlet OutletFlueGases(redeclare package Medium = Medium_FlueGases) "Flue gases outlet"
annotation (Placement(
transformation(extent={{-80,90},{-60,110}}, rotation=0),
iconTransformation(extent={{-80,90},{-60,110}})));
Interfaces.Connectors.FluidInlet InletFlueGases(redeclare package Medium = Medium_FlueGases) "Flue gases inlet"
annotation (Placement(
transformation(extent={{-80,-110},{-60,-90}}, rotation=0)));
equation
connect(OutletWaterSteam, Boiler.Cws2) annotation(
Line(points = {{50, 100}, {50, 100}, {2, 100}, {2, 20}}, color = {255, 0, 0}));
connect(Boiler.Cws1, InletWaterSteam) annotation(
Line(points = {{2, -20}, {2, -100}, {50, -100}}));
connect(Boiler.Cfuel, Fuel.C) annotation(
Line(points = {{-26, 9.79685e-016}, {-32, 9.79685e-016}, {-32, 0}, {-36, 0}}, color = {0, 0, 0}));
connect(Boiler.Cfg, OutletFlueGases) annotation(
Line(points = {{-22.4, 20}, {-22, 20}, {-22, 100}, {-70, 100}}, color = {255, 0, 0}));
connect(Boiler.Cair, InletFlueGases) annotation(
Line(points = {{-22.4, -20}, {-22, -20}, {-22, -100}, {-70, -100}}, color = {0, 0, 0}));
annotation(
Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-80, -100}, {60, 100}}, initialScale = 0.3)),
Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-80, -100}, {60, 100}}, initialScale = 0.3), graphics = {Rectangle(extent = {{-80, 100}, {60, -100}}, lineColor = {0, 0, 0}, pattern = LinePattern.Dash, lineThickness = 0), Rectangle(extent = {{-60, 80}, {40, -80}}, lineColor = {0, 0, 255}, fillColor = DynamicSelect({255, 255, 0}, if diffusion then fill_color_singular else fill_color_static), fillPattern = FillPattern.Solid), Polygon(points = {{-12, -46}, {0, -50}, {10, -38}, {14, -24}, {12, -10}, {10, -2}, {6, 8}, {2, 18}, {0, 26}, {-2, 32}, {-6, 50}, {-10, 40}, {-14, 32}, {-18, 20}, {-18, 16}, {-20, 12}, {-22, 20}, {-24, 22}, {-26, 18}, {-30, 10}, {-32, 4}, {-36, -4}, {-38, -14}, {-40, -24}, {-40, -32}, {-34, -40}, {-30, -46}, {-20, -52}, {-12, -46}}, lineColor = {255, 0, 128}, fillColor = {255, 128, 0}, fillPattern = FillPattern.Solid), Polygon(points = {{-20, -28}, {-18, -24}, {-14, -22}, {-10, -22}, {-6, -24}, {-4, -26}, {-2, -32}, {-2, -36}, {-4, -34}, {-6, -30}, {-8, -26}, {-14, -26}, {-16, -28}, {-20, -32}, {-22, -34}, {-22, -34}, {-20, -28}}, lineColor = {127, 0, 0}, fillColor = {127, 0, 0}, fillPattern = FillPattern.Solid), Text(extent = {{-109, -90}, {-88, -106}}, lineColor = {28, 108, 200}, textString = "Air"), Text(extent = {{-116, 110}, {-84, 88}}, lineColor = {238, 46, 47}, textString = "FlueGases"), Text(extent = {{65, -88}, {95, -108}}, lineColor = {28, 108, 200}, textString = "WaterSteam"), Text(extent = {{65, 112}, {95, 92}}, lineColor = {238, 46, 47}, textString = "WaterSteam"), Line(points = {{-100, -90}, {-100, 90}}, color = {255, 0, 0}, arrow = {Arrow.None, Arrow.Open}), Line(points = {{80, -86}, {80, 94}}, color = {28, 108, 200}, arrow = {Arrow.None, Arrow.Open})}),
connect(OutletWaterSteam, Boiler.Cws2) annotation (Line(points={{50,100},{50,100},
{2,100},{2,20}}, color={255,0,0}));
connect(Boiler.Cws1, InletWaterSteam)
annotation (Line(points={{2,-20},{2,-100},{50,-100}}));
connect(Boiler.Cfuel, Fuel.C) annotation (Line(points={{-26,9.79685e-016},{
-32,9.79685e-016},{-32,0},{-36,0}}, color={0,0,0}));
connect(Boiler.Cfg, OutletFlueGases) annotation (Line(points={{-22.4,20},{-22,
20},{-22,100},{-70,100}},
color={255,0,0}));
connect(Boiler.Cair, InletFlueGases) annotation (Line(points={{-22.4,-20},{
-22,-20},{-22,-100},{-70,-100}}, color={0,0,0}));
annotation (Diagram(coordinateSystem(
preserveAspectRatio=false,
extent={{-80,-100},{60,100}},
initialScale=0.3)),
Icon(coordinateSystem(
preserveAspectRatio=false,
extent={{-80,-100},{60,100}},
initialScale=0.3), graphics={
Rectangle(
extent={{-80,100},{60,-100}},
lineColor={0,0,0},
pattern=LinePattern.Dash,
lineThickness=0),
Rectangle(
extent={{-60,80},{40,-80}},
lineColor={0,0,255},
fillColor= DynamicSelect({255,255,0},
if diffusion then fill_color_singular
else fill_color_static),
fillPattern=FillPattern.Solid),
Polygon(
points={{-12,-46},{0,-50},{10,-38},{14,-24},{12,-10},{10,-2},{6,8},{2,
18},{0,26},{-2,32},{-6,50},{-10,40},{-14,32},{-18,20},{-18,16},{
-20,12},{-22,20},{-24,22},{-26,18},{-30,10},{-32,4},{-36,-4},{-38,
-14},{-40,-24},{-40,-32},{-34,-40},{-30,-46},{-20,-52},{-12,-46}},
lineColor={255,0,128},
fillColor={255,128,0},
fillPattern=FillPattern.Solid),
Polygon(
points={{-20,-28},{-18,-24},{-14,-22},{-10,-22},{-6,-24},{-4,-26},{-2,
-32},{-2,-36},{-4,-34},{-6,-30},{-8,-26},{-14,-26},{-16,-28},{-20,
-32},{-22,-34},{-22,-34},{-20,-28}},
lineColor={127,0,0},
fillColor={127,0,0},
fillPattern=FillPattern.Solid),
Text(
extent={{-109,-90},{-88,-106}},
lineColor={28,108,200},
textString="Air"),
Text(
extent={{-116,110},{-84,88}},
lineColor={238,46,47},
textString="FlueGases"),
Text(
extent={{65,-88},{95,-108}},
lineColor={28,108,200},
textString="WaterSteam"),
Text(
extent={{65,112},{95,92}},
lineColor={238,46,47},
textString="WaterSteam"),
Line(
points={{-100,-90},{-100,90}},
color={255,0,0},
arrow={Arrow.None,Arrow.Open}),
Line(
points={{80,-86},{80,94}},
color={28,108,200},
arrow={Arrow.None,Arrow.Open})}),
Documentation(revisions = "
Author

Expand All @@ -52,4 +150,4 @@ Baligh El Hefni
## Copyright © EDF 2002 - 2026
## ThermoSysPro Version 4.2
"));
end BoilerSystem;
end BoilerSystem;
Loading
Loading