├── Examples ├── package.order └── package.mo ├── Visualisation ├── package.order └── package.mo ├── UsersGuide ├── Contact │ ├── package.order │ └── package.mo ├── Licence │ ├── package.order │ └── package.mo ├── Revisions │ ├── package.order │ └── package.mo ├── GettingStarted │ └── package.order ├── package.order └── package.mo ├── Components ├── HeatExchangers │ ├── package.order │ └── package.mo ├── Mills │ ├── package.order │ ├── HardCoalMills │ │ ├── package.order │ │ ├── package.mo │ │ └── RollerBowlMill_L1.mo │ └── package.mo ├── Furnace │ ├── Hopper │ │ ├── package.order │ │ └── package.mo │ ├── ChemicalReactions │ │ ├── package.order │ │ ├── package.mo │ │ ├── PartialReactionZone.mo │ │ └── CoalReactionZone.mo │ ├── Burner │ │ ├── package.order │ │ └── package.mo │ ├── BaseClasses │ │ ├── package.order │ │ ├── package.mo │ │ └── CombustionChamberBase_additional_HPs.mo │ ├── package.order │ ├── package.mo │ └── FlameRoom │ │ ├── package.order │ │ └── package.mo ├── Utilities │ ├── package.order │ ├── Check │ │ ├── package.order │ │ ├── package.mo │ │ └── test_1_LimPID_110_vs_111.mo │ └── package.mo ├── VolumesValvesFittings │ ├── package.order │ ├── Valves │ │ ├── package.order │ │ └── package.mo │ ├── Fittings │ │ ├── package.order │ │ └── package.mo │ └── package.mo ├── MechanicalSeparation │ ├── package.order │ ├── Check │ │ ├── package.order │ │ └── package.mo │ └── package.mo ├── BoundaryConditions │ ├── package.order │ ├── package.mo │ ├── BoundaryFuel_pTxi.mo │ └── BoundaryFuel_Txim_flow.mo ├── FlueGasCleaning │ ├── package.order │ ├── Denitrification │ │ ├── Fundamentals │ │ │ ├── package.order │ │ │ └── package.mo │ │ ├── package.order │ │ └── Test_Denitrification_NH3port.mo │ ├── package.mo │ └── E_Filter │ │ ├── package.mo │ │ ├── package.order │ │ ├── test_E_Filter_detailed.mo │ │ ├── test_E_Filter_ideal.mo │ │ └── test_E_Filter_empirical.mo ├── Adapters │ ├── package.order │ ├── package.mo │ ├── FuelFlueGas_join.mo │ ├── FuelFlueGas_split.mo │ ├── FuelSlagFlueGas_join.mo │ └── FuelSlagFlueGas_split.mo ├── package.order └── package.mo ├── Basics ├── Functions │ ├── TableInterpolation │ │ ├── package.order │ │ ├── tableIpo.mo │ │ ├── tableInit.mo │ │ └── package.mo │ ├── package.order │ ├── package.mo │ ├── ConvertFuel_xi.mo │ ├── ConvertFuel_xi_waf.mo │ ├── ConvertFuel_LHV.mo │ └── ConvertFuel_cp.mo ├── package.order ├── ControlVolumes │ ├── SolidVolumes │ │ ├── package.order │ │ ├── package.mo │ │ └── ThinWall_L2.mo │ ├── Fundamentals │ │ ├── HeatTransport │ │ │ ├── package.order │ │ │ ├── Generic_HT │ │ │ │ ├── package.order │ │ │ │ ├── package.mo │ │ │ │ ├── ConstantHTC_AMTD.mo │ │ │ │ └── CharLineHTC_AMTD.mo │ │ │ ├── VLE_HT │ │ │ │ ├── package.order │ │ │ │ ├── package.mo │ │ │ │ └── CharLine_AR_L4.mo │ │ │ └── package.mo │ │ ├── package.order │ │ ├── SpatialDistribution │ │ │ ├── package.order │ │ │ ├── package.mo │ │ │ ├── RealPhases.mo │ │ │ └── RealMixed.mo │ │ ├── Geometry │ │ │ ├── package.order │ │ │ ├── package.mo │ │ │ ├── CU_Nports.mo │ │ │ ├── Preheater_LP.mo │ │ │ └── CH_Nports.mo │ │ └── package.mo │ ├── package.order │ ├── FluidVolumes │ │ ├── package.order │ │ └── package.mo │ └── package.mo ├── Icons │ ├── package.order │ ├── package.mo │ ├── Obsolete_v1_2.mo │ ├── Obsolete_v1_3.mo │ ├── Obsolete_v1_1.mo │ └── ObsoleteConnector_v1_1.mo ├── Interfaces │ ├── package.mo │ ├── package.order │ ├── Fuel_outlet.mo │ ├── ControlBus.mo │ ├── Fuel_inlet.mo │ ├── FuelFlueGas_inlet.mo │ ├── FuelFlueGas_outlet.mo │ ├── FuelSlagFlueGas_inlet.mo │ └── FuelSlagFlueGas_outlet.mo └── package.mo ├── SubSystems ├── Check │ ├── package.order │ └── package.mo ├── package.order └── package.mo ├── package.order ├── StaticCycles ├── package.mo ├── package.order ├── StaCyFlangeFuel.mo ├── FuelSignal_black_a.mo ├── FuelSignal_black_b.mo ├── Boundary_green.mo ├── Boundary_yellow.mo ├── Boundary_blue.mo ├── Boundary_red.mo ├── Source_black.mo └── Dispatcher.mo ├── ConvertFromClaRa_Obsolete_1.4.1.mos └── package.mo /Examples/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Visualisation/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UsersGuide/Contact/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UsersGuide/Licence/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UsersGuide/Revisions/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Components/HeatExchangers/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /UsersGuide/GettingStarted/package.order: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Components/Mills/package.order: -------------------------------------------------------------------------------- 1 | HardCoalMills 2 | -------------------------------------------------------------------------------- /Components/Furnace/Hopper/package.order: -------------------------------------------------------------------------------- 1 | Hopper_L2 2 | -------------------------------------------------------------------------------- /Components/Utilities/package.order: -------------------------------------------------------------------------------- 1 | Check 2 | LimPID_110 3 | -------------------------------------------------------------------------------- /Components/Utilities/Check/package.order: -------------------------------------------------------------------------------- 1 | test_1_LimPID_110_vs_111 2 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/package.order: -------------------------------------------------------------------------------- 1 | Fittings 2 | Valves 3 | -------------------------------------------------------------------------------- /Basics/Functions/TableInterpolation/package.order: -------------------------------------------------------------------------------- 1 | tableInit 2 | tableIpo 3 | -------------------------------------------------------------------------------- /Components/MechanicalSeparation/package.order: -------------------------------------------------------------------------------- 1 | FeedWaterTank_L3 2 | Check 3 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/Valves/package.order: -------------------------------------------------------------------------------- 1 | ValveFuelFlueGas_L1 2 | -------------------------------------------------------------------------------- /Basics/package.order: -------------------------------------------------------------------------------- 1 | ControlVolumes 2 | Functions 3 | Interfaces 4 | Icons 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/SolidVolumes/package.order: -------------------------------------------------------------------------------- 1 | NTU_L2_advanced 2 | ThinWall_L2 3 | -------------------------------------------------------------------------------- /Components/MechanicalSeparation/Check/package.order: -------------------------------------------------------------------------------- 1 | TestFeedWaterTank_1Separator 2 | -------------------------------------------------------------------------------- /Components/Mills/HardCoalMills/package.order: -------------------------------------------------------------------------------- 1 | RollerBowlMill_L1 2 | VerticalMill_L3 3 | -------------------------------------------------------------------------------- /UsersGuide/package.order: -------------------------------------------------------------------------------- 1 | GettingStarted 2 | Revisions 3 | Contact 4 | Licence 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/package.order: -------------------------------------------------------------------------------- 1 | Generic_HT 2 | VLE_HT 3 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/package.order: -------------------------------------------------------------------------------- 1 | FluidVolumes 2 | Fundamentals 3 | SolidVolumes 4 | -------------------------------------------------------------------------------- /Components/BoundaryConditions/package.order: -------------------------------------------------------------------------------- 1 | BoundaryFuel_Txim_flow 2 | BoundaryFuel_pTxi 3 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/package.order: -------------------------------------------------------------------------------- 1 | Denitrification 2 | Desulfurization 3 | E_Filter 4 | -------------------------------------------------------------------------------- /Components/Furnace/ChemicalReactions/package.order: -------------------------------------------------------------------------------- 1 | PartialReactionZone 2 | CoalReactionZone 3 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/FluidVolumes/package.order: -------------------------------------------------------------------------------- 1 | VolumeVLE_3_TwoZones 2 | VolumeVLE_L3_TwoZonesNPort 3 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/package.order: -------------------------------------------------------------------------------- 1 | HeatTransport 2 | Geometry 3 | SpatialDistribution 4 | -------------------------------------------------------------------------------- /Basics/Icons/package.order: -------------------------------------------------------------------------------- 1 | Obsolete_v1_1 2 | ObsoleteConnector_v1_1 3 | Obsolete_v1_2 4 | Obsolete_v1_3 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/Generic_HT/package.order: -------------------------------------------------------------------------------- 1 | ConstantHTC_AMTD 2 | CharLineHTC_AMTD 3 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/VLE_HT/package.order: -------------------------------------------------------------------------------- 1 | CharLine_AR_L4 2 | NusseltPipe2ph_L2_obs 3 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/SpatialDistribution/package.order: -------------------------------------------------------------------------------- 1 | RealPhases 2 | RealSeparated 3 | RealMixed 4 | -------------------------------------------------------------------------------- /Components/Furnace/Burner/package.order: -------------------------------------------------------------------------------- 1 | Burner_L2_Static 2 | Burner_L2_Dynamic 3 | Burner_L2_Dynamic_fuelDrying 4 | -------------------------------------------------------------------------------- /SubSystems/Check/package.order: -------------------------------------------------------------------------------- 1 | testCoalSupplyBoiler7_XRG_vr 2 | TestSuperheater 3 | TestSuperheater_4bundle 4 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/Geometry/package.order: -------------------------------------------------------------------------------- 1 | Condenser 2 | CU_Nports 3 | CH_Nports 4 | Preheater_LP 5 | -------------------------------------------------------------------------------- /SubSystems/package.order: -------------------------------------------------------------------------------- 1 | ConvectiveHeatingPart_3SH 2 | ConvectiveHeatingPart_4SH 3 | SteamGenerator_L3_vr 4 | Check 5 | -------------------------------------------------------------------------------- /Components/Adapters/package.order: -------------------------------------------------------------------------------- 1 | FuelSlagFlueGas_join 2 | FuelSlagFlueGas_split 3 | FuelFlueGas_join 4 | FuelFlueGas_split 5 | -------------------------------------------------------------------------------- /Components/Furnace/BaseClasses/package.order: -------------------------------------------------------------------------------- 1 | CombustionChamberBase 2 | HopperBase 3 | CombustionChamberBase_additional_HPs 4 | -------------------------------------------------------------------------------- /package.order: -------------------------------------------------------------------------------- 1 | UsersGuide 2 | Examples 3 | Basics 4 | Components 5 | SubSystems 6 | Visualisation 7 | StaticCycles 8 | -------------------------------------------------------------------------------- /Basics/Functions/package.order: -------------------------------------------------------------------------------- 1 | TableInterpolation 2 | ConvertFuel_LHV 3 | ConvertFuel_cp 4 | ConvertFuel_xi 5 | ConvertFuel_xi_waf 6 | -------------------------------------------------------------------------------- /Components/Furnace/package.order: -------------------------------------------------------------------------------- 1 | Burner 2 | BaseClasses 3 | FlameRoom 4 | Hopper 5 | ChemicalReactions 6 | SimpleCombustionChamber 7 | -------------------------------------------------------------------------------- /Components/MechanicalSeparation/Check/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.MechanicalSeparation; 2 | package Check 3 | end Check; 4 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/Denitrification/Fundamentals/package.order: -------------------------------------------------------------------------------- 1 | Denitrification_controlVolume 2 | Denitrification_NH3port_controlVolume 3 | -------------------------------------------------------------------------------- /Basics/Icons/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics; 2 | package Icons 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics80; 4 | 5 | end Icons; 6 | -------------------------------------------------------------------------------- /Components/Mills/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package Mills 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | end Mills; 5 | -------------------------------------------------------------------------------- /StaticCycles/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package StaticCycles 3 | extends ClaRa.Basics.Icons.PackageIcons.CycleInit100; 4 | 5 | end StaticCycles; 6 | -------------------------------------------------------------------------------- /Basics/Functions/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics; 2 | package Functions 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics80; 4 | 5 | end Functions; 6 | -------------------------------------------------------------------------------- /Basics/Interfaces/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics; 2 | package Interfaces 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics80; 4 | end Interfaces; 5 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/Denitrification/package.order: -------------------------------------------------------------------------------- 1 | Denitrification_L1_NH3port 2 | Denitrification_L1_old 3 | Fundamentals 4 | Test_Denitrification_NH3port 5 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/Fittings/package.order: -------------------------------------------------------------------------------- 1 | SprayInjector_Kvs_L3 2 | SprayInjector_Kvs_L3_noMixer 3 | SprayInjector_L3 4 | SprayInjector_L3_advanced 5 | -------------------------------------------------------------------------------- /Components/Furnace/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package Furnace 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | 5 | end Furnace; 6 | -------------------------------------------------------------------------------- /Components/Utilities/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package Utilities 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | end Utilities; 5 | -------------------------------------------------------------------------------- /SubSystems/Check/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.SubSystems; 2 | package Check 3 | extends ClaRa.Basics.Icons.PackageIcons.Subsystemsb60; 4 | 5 | end Check; 6 | -------------------------------------------------------------------------------- /Components/Adapters/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package Adapters 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | 5 | end Adapters; 6 | -------------------------------------------------------------------------------- /Basics/Interfaces/package.order: -------------------------------------------------------------------------------- 1 | ControlBus 2 | Fuel_inlet 3 | Fuel_outlet 4 | FuelFlueGas_inlet 5 | FuelFlueGas_outlet 6 | FuelSlagFlueGas_inlet 7 | FuelSlagFlueGas_outlet 8 | -------------------------------------------------------------------------------- /Components/Utilities/Check/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Utilities; 2 | package Check 3 | extends ClaRa.Basics.Icons.PackageIcons.Componentsb80; 4 | end Check; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics; 2 | package ControlVolumes 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics80; 4 | 5 | end ControlVolumes; 6 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package FlueGasCleaning 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | end FlueGasCleaning; 5 | -------------------------------------------------------------------------------- /Components/HeatExchangers/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package HeatExchangers 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | end HeatExchangers; 5 | -------------------------------------------------------------------------------- /Components/Mills/HardCoalMills/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Mills; 2 | package HardCoalMills 3 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 4 | end HardCoalMills; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/SolidVolumes/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes; 2 | package SolidVolumes 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics60; 4 | end SolidVolumes; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/FluidVolumes/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes; 2 | package FluidVolumes 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics60; 4 | end FluidVolumes; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes; 2 | package Fundamentals 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics60; 4 | end Fundamentals; 5 | -------------------------------------------------------------------------------- /Components/BoundaryConditions/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package BoundaryConditions 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | 5 | end BoundaryConditions; 6 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/E_Filter/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning; 2 | package E_Filter 3 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 4 | 5 | end E_Filter; 6 | -------------------------------------------------------------------------------- /Components/MechanicalSeparation/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package MechanicalSeparation 3 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 4 | 5 | end MechanicalSeparation; 6 | -------------------------------------------------------------------------------- /Components/package.order: -------------------------------------------------------------------------------- 1 | HeatExchangers 2 | VolumesValvesFittings 3 | Utilities 4 | BoundaryConditions 5 | Furnace 6 | Mills 7 | FlueGasCleaning 8 | Adapters 9 | MechanicalSeparation 10 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/Valves/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.VolumesValvesFittings; 2 | package Valves 3 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 4 | 5 | end Valves; 6 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/E_Filter/package.order: -------------------------------------------------------------------------------- 1 | E_Filter_L2_simple_old 2 | E_Filter_L2_empirical_old 3 | E_Filter_L2_detailed_old 4 | test_E_Filter_detailed 5 | test_E_Filter_empirical 6 | test_E_Filter_ideal 7 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/Geometry/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals; 2 | package Geometry 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics50; 4 | 5 | end Geometry; 6 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals; 2 | package HeatTransport 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics50; 4 | end HeatTransport; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/VLE_HT/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.HeatTransport; 2 | package VLE_HT 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics50; 4 | end VLE_HT; 5 | -------------------------------------------------------------------------------- /Components/Furnace/FlameRoom/package.order: -------------------------------------------------------------------------------- 1 | FlameRoom_L2_Static 2 | FlameRoomAdditionalAir_L2_Static 3 | FlameRoomWithTubeBundle_L2_Static 4 | FlameRoom_L2_Dynamic 5 | FlameRoomAdditionalAir_L2_Dynamic 6 | FlameRoomWithTubeBundle_L2_Dynamic 7 | -------------------------------------------------------------------------------- /StaticCycles/package.order: -------------------------------------------------------------------------------- 1 | Boundary_blue 2 | Boundary_green 3 | Boundary_red 4 | Boundary_yellow 5 | Boiler 6 | Dispatcher 7 | Burner1 8 | Burner2 9 | Source_black 10 | FuelSignal_black_a 11 | FuelSignal_black_b 12 | StaCyFlangeFuel 13 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/SpatialDistribution/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals; 2 | package SpatialDistribution 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics50; 4 | end SpatialDistribution; 5 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/Generic_HT/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.HeatTransport; 2 | package Generic_HT 3 | extends ClaRa.Basics.Icons.PackageIcons.Basics50; 4 | 5 | end Generic_HT; 6 | -------------------------------------------------------------------------------- /ConvertFromClaRa_Obsolete_1.4.1.mos: -------------------------------------------------------------------------------- 1 | // Generated by conversion of ClaRa_Obsolete 2 | // Since this file is empty there is no reference to it. 3 | // If you want to add conversions to this you also have to add a reference to it. 4 | // This is done by removing noneFromVersion and adding a script etc. 5 | -------------------------------------------------------------------------------- /Basics/Functions/TableInterpolation/tableIpo.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions.TableInterpolation; 2 | function tableIpo "Interpolate 1-dim. table defined by matrix (for details see: Modelica/Resources/C-Sources/ModelicaTables.h)" 3 | input Integer tableID; 4 | input Integer icol; 5 | input Real u; 6 | output Real value; 7 | external "C" value=ModelicaTables_CombiTable1D_interpolate(tableID, icol, u); 8 | annotation(Library="ModelicaExternalC"); 9 | end tableIpo; 10 | -------------------------------------------------------------------------------- /Basics/Interfaces/Fuel_outlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector Fuel_outlet 3 | extends ClaRa_Obsolete.Basics.Interfaces.Fuel_inlet; 4 | annotation (Icon(graphics={ 5 | Ellipse( 6 | extent={{-60,60},{60,-60}}, 7 | pattern=LinePattern.Solid, 8 | fillColor={255,255,255}, 9 | lineColor={27,36,42}, 10 | lineThickness=0.5, 11 | fillPattern=FillPattern.Solid)})); 12 | end Fuel_outlet; 13 | -------------------------------------------------------------------------------- /Basics/Functions/ConvertFuel_xi.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions; 2 | function ConvertFuel_xi "Convert fuel's composition from version <= 1.2.2 to version 1.3.0 and above" 3 | extends ClaRa.Basics.Icons.Function; 4 | input ClaRa.Basics.Media.Fuel.PartialFuel fuelType = ClaRa.Basics.Media.Fuel.Coal_v1() "Old fuel definition" annotation(choicesAllMatching); 5 | input ClaRa.Basics.Units.MassFraction xi[:] ""; 6 | 7 | output ClaRa.Basics.Units.EnthalpyMassSpecific xi_new[2]; 8 | 9 | 10 | algorithm 11 | xi_new :={sum(xi[1:fuelType.nc - 2]),xi[fuelType.nc - 1]}; 12 | end ConvertFuel_xi; 13 | -------------------------------------------------------------------------------- /Basics/Functions/ConvertFuel_xi_waf.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions; 2 | function ConvertFuel_xi_waf "Convert fuel's elementary composition from version <= 1.2.2 to version 1.3.0 and above" 3 | extends ClaRa.Basics.Icons.Function; 4 | input ClaRa.Basics.Media.Fuel.PartialFuel fuelType = ClaRa.Basics.Media.Fuel.Coal_v1() "Old fuel definition" annotation(choicesAllMatching); 5 | input ClaRa.Basics.Units.MassFraction xi[:] ""; 6 | 7 | output ClaRa.Basics.Units.EnthalpyMassSpecific xi_waf[4]; 8 | 9 | algorithm 10 | xi_waf := xi[1:4]/sum(xi[1:fuelType.nc-2]); 11 | end ConvertFuel_xi_waf; 12 | -------------------------------------------------------------------------------- /Basics/Interfaces/ControlBus.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | expandable connector ControlBus "A bus" 3 | extends Modelica.Icons.SignalBus; 4 | extends Icons.ObsoleteConnector_v1_1; 5 | 6 | ClaRa.Basics.Interfaces.SteamSignal steamSignal; 7 | annotation (defaultComponentPrefixes="protected", 8 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 9 | {100,100}}), graphics={Rectangle( 10 | extent={{-20,2},{22,-2}}, 11 | lineColor={255,204,51}, 12 | lineThickness=0.5)}), 13 | Diagram(graphics)); 14 | end ControlBus; 15 | -------------------------------------------------------------------------------- /Basics/Functions/TableInterpolation/tableInit.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions.TableInterpolation; 2 | function tableInit "Initialize 1-dim. table defined by matrix (for details see: Modelica/Resources/C-Sources/ModelicaTables.h)" 3 | input String tableName; 4 | input String fileName; 5 | input Real table[ :, :]; 6 | input Modelica.Blocks.Types.Smoothness smoothness; 7 | output Integer tableID; 8 | external "C" tableID = ModelicaTables_CombiTable1D_init( 9 | tableName, fileName, table, size(table, 1), size(table, 2), 10 | smoothness); 11 | annotation(Library="ModelicaExternalC"); 12 | end tableInit; 13 | -------------------------------------------------------------------------------- /Basics/Functions/ConvertFuel_LHV.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions; 2 | function ConvertFuel_LHV "Convert fuel's LHV from version <= 1.2.2 to version 1.3.0 and above" 3 | extends ClaRa.Basics.Icons.Function; 4 | input ClaRa.Basics.Media.Fuel.PartialFuel fuelType = ClaRa.Basics.Media.Fuel.Coal_v1() "Old fuel definition" annotation(choicesAllMatching); 5 | input ClaRa.Basics.Units.EnthalpyMassSpecific LHV_set ""; 6 | input ClaRa.Basics.Units.EnthalpyMassSpecific Delta_h_evap=2500e3 ""; 7 | input ClaRa.Basics.Units.MassFraction xi[:] ""; 8 | 9 | output ClaRa.Basics.Units.EnthalpyMassSpecific LHV_waf; 10 | 11 | protected 12 | constant ClaRa.Basics.Units.EnthalpyMassSpecific C_LHV_w = -Delta_h_evap; 13 | 14 | algorithm 15 | LHV_waf :=(LHV_set - (1 - sum(xi))*C_LHV_w)/sum(xi[1:fuelType.nc - 2]); 16 | end ConvertFuel_LHV; 17 | -------------------------------------------------------------------------------- /Basics/Functions/ConvertFuel_cp.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions; 2 | function ConvertFuel_cp "Convert fuel's cp from version <= 1.2.2 to version 1.3.0 and above" 3 | extends ClaRa.Basics.Icons.Function; 4 | input ClaRa.Basics.Media.Fuel.PartialFuel fuelType = ClaRa.Basics.Media.Fuel.Coal_v1() "Old fuel definition" annotation(choicesAllMatching); 5 | input ClaRa.Basics.Units.EnthalpyMassSpecific cp_set= 1260 "Spec. heat capacity"; 6 | input ClaRa.Basics.Units.MassFraction xi[:] "Old composition, size = fuelType.nc-1"; 7 | 8 | output ClaRa.Basics.Units.EnthalpyMassSpecific cp_new; 9 | 10 | protected 11 | constant ClaRa.Basics.Units.EnthalpyMassSpecific C_cp_w = 4190; 12 | constant ClaRa.Basics.Units.EnthalpyMassSpecific C_cp_a = 1000; 13 | 14 | algorithm 15 | cp_new :=(cp_set - (1 - sum(xi))*C_cp_w - xi[fuelType.nc-1]*C_cp_a)/sum(xi[1:fuelType.nc - 2]); 16 | end ConvertFuel_cp; 17 | -------------------------------------------------------------------------------- /Basics/Interfaces/Fuel_inlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector Fuel_inlet 3 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 4 | String LHV_calculationType; 5 | 6 | Modelica.Units.SI.AbsolutePressure p "Thermodynamic pressure in the connection point"; 7 | flow Modelica.Units.SI.MassFlowRate m_flow "Mass flow rate from the connection point into the component"; 8 | stream Modelica.Units.SI.Temperature T_outflow "Specific thermodynamic enthalpy close to the connection point if m_flow < 0"; 9 | stream Modelica.Units.SI.MassFraction xi_outflow[fuelType.nc - 1] "Independent mixture mass fractions m_i/m close to the connection point if m_flow < 0"; 10 | stream Modelica.Units.SI.SpecificEnthalpy LHV_outflow "Specific lover heating value of the fuel"; 11 | stream Modelica.Units.SI.SpecificHeatCapacity cp_outflow "Specific heat capacity of the fuel"; 12 | annotation (Icon(graphics={Ellipse( 13 | extent={{-100,100},{100,-100}}, 14 | lineColor={27,36,42}, 15 | lineThickness=0.5, 16 | fillColor={27,36,42}, 17 | fillPattern=FillPattern.Solid)})); 18 | end Fuel_inlet; 19 | -------------------------------------------------------------------------------- /Basics/Interfaces/FuelFlueGas_inlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector FuelFlueGas_inlet "Port describing Coal and CombustionAir flow" 3 | 4 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 5 | 6 | ClaRa.Basics.Interfaces.GasPortIn flueGas 7 | annotation (Placement(transformation(extent={{-30,-70},{30,-10}}))); 8 | ClaRa_Obsolete.Basics.Interfaces.Fuel_inlet fuel(fuelType=fuelType) annotation (Placement(transformation(extent={{-30,10},{30,70}}))); 9 | annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100}, 10 | {100,100}}), 11 | graphics={ 12 | Ellipse( 13 | extent={{-100,100},{100,-100}}, 14 | lineColor={118,106,98}, 15 | lineThickness=0.5, 16 | fillColor={118,106,98}, 17 | fillPattern=FillPattern.Solid), 18 | Ellipse( 19 | extent={{-60,60},{60,-60}}, 20 | lineColor={27,36,42}, 21 | fillColor={27,36,42}, 22 | fillPattern=FillPattern.Solid)}), Diagram(coordinateSystem( 23 | preserveAspectRatio=true, extent={{-100,-100},{100,100}}), 24 | graphics)); 25 | end FuelFlueGas_inlet; 26 | -------------------------------------------------------------------------------- /StaticCycles/StaCyFlangeFuel.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model StaCyFlangeFuel "A summary record for fuel flanges" 3 | extends ClaRa.Basics.Icons.RecordIcon; 4 | replaceable parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelModel "Used medium model" annotation (Dialog(tab="System")); 5 | 6 | input ClaRa.Basics.Units.MassFlowRate m_flow "Mass flow rate" 7 | annotation (Dialog); 8 | input ClaRa.Basics.Units.EnthalpyMassSpecific LHV "Lower heating value" annotation (Dialog); 9 | 10 | input ClaRa.Basics.Units.MassFraction xi[fuelModel.nc - 1] "Medium composition" annotation(Dialog); 11 | annotation (Icon(graphics={ Polygon( 12 | points={{-100,100},{100,-100},{-100,100}}, 13 | lineColor={255,0,0}, 14 | smooth=Smooth.None, 15 | fillColor={102,198,0}, 16 | fillPattern=FillPattern.Solid), Polygon( 17 | points={{-100,-100},{100,100},{-100,-100}}, 18 | lineColor={255,0,0}, 19 | smooth=Smooth.None, 20 | fillColor={102,198,0}, 21 | fillPattern=FillPattern.Solid), 22 | Text( 23 | extent={{-80,-60},{80,-100}}, 24 | lineColor={238,46,47}, 25 | textString="Supported until ClaRa 1.4.0")})); 26 | end StaCyFlangeFuel; 27 | -------------------------------------------------------------------------------- /Basics/Interfaces/FuelFlueGas_outlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector FuelFlueGas_outlet "Port describing Coal and CombustionAir flow" 3 | 4 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 5 | 6 | ClaRa.Basics.Interfaces.GasPortOut flueGas 7 | annotation (Placement(transformation(extent={{-30,-70},{30,-10}}))); 8 | ClaRa_Obsolete.Basics.Interfaces.Fuel_outlet fuel(fuelType=fuelType) annotation (Placement(transformation(extent={{-30,10},{30,70}}))); 9 | annotation (Icon(graphics={ 10 | Ellipse( 11 | extent={{-100,100},{100,-100}}, 12 | lineColor={118,106,98}, 13 | lineThickness=0.5, 14 | fillColor={118,106,98}, 15 | fillPattern=FillPattern.Solid), 16 | Ellipse( 17 | extent={{-80,80},{80,-80}}, 18 | lineColor={118,106,98}, 19 | fillColor={255,255,255}, 20 | fillPattern=FillPattern.Solid), 21 | Ellipse( 22 | extent={{-60,60},{60,-60}}, 23 | lineColor={27,36,42}, 24 | fillColor={27,36,42}, 25 | fillPattern=FillPattern.Solid), 26 | Ellipse( 27 | extent={{-45,45},{45,-45}}, 28 | lineColor={27,36,42}, 29 | fillColor={255,255,255}, 30 | fillPattern=FillPattern.Solid)}), Diagram(graphics)); 31 | end FuelFlueGas_outlet; 32 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/Geometry/CU_Nports.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.Geometry; 2 | model CU_Nports "Cylindric shape || Shell with tubes || Vertical flow || Parallel tubes" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.HollowCylinderWithTubes(orientation=ClaRa.Basics.Choices.GeometryOrientation.vertical, final parallelTubes=false); 19 | extends Icons.Obsolete_v1_1; 20 | end CU_Nports; 21 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/Geometry/Preheater_LP.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.Geometry; 2 | model Preheater_LP "Cylindric shape || Shell with tubes || Vertical flow || Parallel tubes" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.HollowCylinderWithTubes(final orientation=ClaRa.Basics.Choices.GeometryOrientation.vertical, final parallelTubes=true); 19 | extends Icons.Obsolete_v1_1; 20 | end Preheater_LP; 21 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/Geometry/CH_Nports.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.Geometry; 2 | model CH_Nports "Cylindric shape || Shell with tubes || Vertical flow || Perpendicular tubes" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.HollowCylinderWithTubes( 19 | orientation=ClaRa.Basics.Choices.GeometryOrientation.vertical, 20 | final parallelTubes=true, 21 | final N_baffle=0); 22 | extends Icons.Obsolete_v1_1; 23 | end CH_Nports; 24 | -------------------------------------------------------------------------------- /Basics/Interfaces/FuelSlagFlueGas_inlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector FuelSlagFlueGas_inlet "Port describing Coal,Slag and FlueGas flow" 3 | 4 | // Media properties of coal and slag 5 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 6 | parameter ClaRa.Basics.Media.Slag.PartialSlag slagType; 7 | 8 | ClaRa.Basics.Interfaces.GasPortIn flueGas 9 | annotation (Placement(transformation(extent={{40,-30},{100,30}}))); 10 | ClaRa_Obsolete.Basics.Interfaces.Fuel_inlet fuel(fuelType=fuelType) annotation (Placement(transformation(extent={{-100,-30},{-40,30}}))); 11 | ClaRa.Basics.Interfaces.Slag_outlet slag(slagType=slagType) 12 | annotation (Placement(transformation(extent={{-30,-30},{30,30}}))); 13 | 14 | annotation (Icon(graphics={ 15 | Ellipse( 16 | extent={{-100,100},{100,-100}}, 17 | lineColor={118,106,98}, 18 | fillColor={118,106,98}, 19 | lineThickness=0.5, 20 | fillPattern=FillPattern.Solid), 21 | Ellipse( 22 | extent={{-60,60},{60,-60}}, 23 | lineColor={27,36,42}, 24 | fillColor={27,36,42}, 25 | fillPattern=FillPattern.Solid), 26 | Ellipse( 27 | extent={{-35,35},{35,-35}}, 28 | lineColor={27,36,42}, 29 | fillColor={234,171,0}, 30 | fillPattern=FillPattern.Solid), 31 | Ellipse( 32 | extent={{-20,20},{20,-20}}, 33 | lineColor={234,171,0}, 34 | fillColor={255,255,255}, 35 | fillPattern=FillPattern.Solid)}), Diagram(coordinateSystem( 36 | preserveAspectRatio=false, extent={{-100,-100},{100,100}}), 37 | graphics)); 38 | end FuelSlagFlueGas_inlet; 39 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/SpatialDistribution/RealPhases.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.SpatialDistribution; 2 | partial model RealPhases "The phases are NOT in ideal thermodynamic equilibrium" 3 | 4 | extends ClaRa.Basics.Icons.RealPhases; 5 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_1; 6 | parameter Real level_rel_start=0.5 "Start value for relative filling Level"; 7 | 8 | outer parameter Boolean useHomotopy; 9 | 10 | outer ClaRa.Basics.Records.IComVLE_L3_NPort iCom; 11 | outer ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.GenericGeometry geo; 12 | 13 | outer ClaRa.Basics.Choices.Init initType; 14 | 15 | ClaRa.Basics.Units.Pressure Delta_p_geo_in[geo.N_inlet]; 16 | ClaRa.Basics.Units.Pressure Delta_p_geo_out[geo.N_outlet]; 17 | 18 | ClaRa.Basics.Units.MassFraction zoneAlloc_in[geo.N_inlet] "Allocation of inlet mass flows to zones |1:liq|2:vap|"; 19 | // For two-zonal models only! Other wise a vector of size N_cv-1 must be introduced 20 | ClaRa.Basics.Units.MassFraction zoneAlloc_out[geo.N_outlet] "Allocation of outlet mass flows to zones |1:liq|2:vap|"; 21 | 22 | ClaRa.Basics.Units.Length level_abs "Absolute filling absLevel"; 23 | Real level_rel(start=level_rel_start) "Relative filling absLevel"; 24 | 25 | ClaRa.Basics.Units.MassFlowRate m_flow_inliq[geo.N_inlet] "Mass flow passing from inlet to zone 1 and vice versa"; 26 | ClaRa.Basics.Units.MassFlowRate m_flow_invap[geo.N_inlet] "Mass flow passing from inlet to zone 2 and vice versa"; 27 | ClaRa.Basics.Units.MassFlowRate m_flow_outliq[geo.N_outlet] "Mass flow passing from outlet to zone 1 and vice versa"; 28 | ClaRa.Basics.Units.MassFlowRate m_flow_outvap[geo.N_outlet] "Mass flow passing from outlet to zone 2 and vice versa"; 29 | 30 | end RealPhases; 31 | -------------------------------------------------------------------------------- /Basics/Interfaces/FuelSlagFlueGas_outlet.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Interfaces; 2 | connector FuelSlagFlueGas_outlet "Port describing Coal,Slag and FlueGas flow" 3 | 4 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 5 | parameter ClaRa.Basics.Media.Slag.PartialSlag slagType; 6 | ClaRa.Basics.Interfaces.GasPortOut flueGas 7 | annotation (Placement(transformation(extent={{40,-30},{100,30}}))); 8 | ClaRa_Obsolete.Basics.Interfaces.Fuel_outlet fuel(fuelType=fuelType) annotation (Placement(transformation(extent={{-100,-30},{-40,30}}))); 9 | ClaRa.Basics.Interfaces.Slag_inlet slag(slagType=slagType) annotation (Placement(transformation(extent={{-30,-30},{30,30}}))); 10 | 11 | annotation (Icon(graphics={ 12 | Ellipse( 13 | extent={{-100,100},{100,-100}}, 14 | lineColor={118,106,98}, 15 | lineThickness=0.5, 16 | fillColor={118,106,98}, 17 | fillPattern=FillPattern.Solid), 18 | Ellipse( 19 | extent={{-80,80},{80,-80}}, 20 | lineColor={118,106,98}, 21 | fillColor={255,255,255}, 22 | fillPattern=FillPattern.Solid), 23 | Ellipse( 24 | extent={{-60,60},{60,-60}}, 25 | lineColor={27,36,42}, 26 | fillColor={27,36,42}, 27 | fillPattern=FillPattern.Solid), 28 | Ellipse( 29 | extent={{-45,45},{45,-45}}, 30 | lineColor={27,36,42}, 31 | fillColor={255,255,255}, 32 | fillPattern=FillPattern.Solid), 33 | Ellipse( 34 | extent={{-35,35},{35,-35}}, 35 | lineColor={255,255,255}, 36 | fillColor={234,171,0}, 37 | fillPattern=FillPattern.Solid)}), Diagram(coordinateSystem( 38 | preserveAspectRatio=false, extent={{-100,-100},{100,100}}), 39 | graphics)); 40 | end FuelSlagFlueGas_outlet; 41 | -------------------------------------------------------------------------------- /Components/Furnace/Hopper/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace; 2 | package Hopper 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | end Hopper; 30 | -------------------------------------------------------------------------------- /Components/Furnace/Burner/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace; 2 | package Burner 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | 30 | 31 | 32 | 33 | 34 | end Burner; 35 | -------------------------------------------------------------------------------- /Basics/Functions/TableInterpolation/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Functions; 2 | package TableInterpolation 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.1.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Basics60; 29 | 30 | end TableInterpolation; 31 | -------------------------------------------------------------------------------- /Components/Furnace/BaseClasses/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace; 2 | package BaseClasses 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | 30 | 31 | 32 | 33 | 34 | end BaseClasses; 35 | -------------------------------------------------------------------------------- /Basics/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package Basics "Fundamental classes like functions and records" 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Basics100; 29 | 30 | end Basics; 31 | -------------------------------------------------------------------------------- /Examples/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package Examples "Examples to illustrate the functionality of the library" 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Examplesb100; 29 | 30 | end Examples; 31 | -------------------------------------------------------------------------------- /Visualisation/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package Visualisation "Visualisation of State of Process" 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Visualisation100; 29 | 30 | end Visualisation; 31 | -------------------------------------------------------------------------------- /Components/Furnace/FlameRoom/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace; 2 | package FlameRoom 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | end FlameRoom; 41 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/Denitrification/Fundamentals/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning.Denitrification; 2 | package Fundamentals 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components50; 29 | 30 | 31 | end Fundamentals; 32 | -------------------------------------------------------------------------------- /Basics/Icons/Obsolete_v1_2.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Icons; 2 | model Obsolete_v1_2 "This model will be not longer supported than Version 1.4!" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100, 19 | -100},{100,100}}), graphics={ Polygon( 20 | points={{-100,-100},{100,100},{-100,-100}}, 21 | lineColor={255,0,0}, 22 | smooth=Smooth.None, 23 | fillColor={102,198,0}, 24 | fillPattern=FillPattern.Solid),Polygon( 25 | points={{-100,100},{100,-100},{-100,100}}, 26 | lineColor={255,0,0}, 27 | smooth=Smooth.None, 28 | fillColor={102,198,0}, 29 | fillPattern=FillPattern.Solid), 30 | Text( 31 | extent={{-80,-60},{80,-100}}, 32 | lineColor={238,46,47}, 33 | textString="Supported until ClaRa 1.4.0")}), 34 | Diagram(coordinateSystem(extent={{ 35 | -100,-100},{100,100}}))); 36 | end Obsolete_v1_2; 37 | -------------------------------------------------------------------------------- /Basics/Icons/Obsolete_v1_3.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Icons; 2 | model Obsolete_v1_3 "This model will be not longer supported than Version 1.5!" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100, 19 | -100},{100,100}}), graphics={ Polygon( 20 | points={{-100,-100},{100,100},{-100,-100}}, 21 | lineColor={255,0,0}, 22 | smooth=Smooth.None, 23 | fillColor={102,198,0}, 24 | fillPattern=FillPattern.Solid),Polygon( 25 | points={{-100,100},{100,-100},{-100,100}}, 26 | lineColor={255,0,0}, 27 | smooth=Smooth.None, 28 | fillColor={102,198,0}, 29 | fillPattern=FillPattern.Solid), 30 | Text( 31 | extent={{-80,-60},{80,-100}}, 32 | lineColor={238,46,47}, 33 | textString="Supported until ClaRa 1.5.0")}), 34 | Diagram(coordinateSystem(extent={{ 35 | -100,-100},{100,100}}))); 36 | end Obsolete_v1_3; 37 | -------------------------------------------------------------------------------- /Components/Furnace/ChemicalReactions/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace; 2 | package ChemicalReactions 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.2.2 // 5 | // Models of the ClaRa library are tested under DYMOLA v2016 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 10 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 19 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 20 | // The research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | 30 | 31 | 32 | 33 | annotation (Icon(graphics)); 34 | end ChemicalReactions; 35 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/Fittings/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.VolumesValvesFittings; 2 | package Fittings "Bends, T-connectors,..." 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components60; 29 | 30 | end Fittings; 31 | -------------------------------------------------------------------------------- /Components/VolumesValvesFittings/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components; 2 | package VolumesValvesFittings "All kinds of tube-shaped components" 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components80; 29 | 30 | end VolumesValvesFittings; 31 | -------------------------------------------------------------------------------- /SubSystems/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package SubSystems "Containing Subsystems like Boilers, Amine Washing,..." 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Subsystems100; 29 | 30 | 31 | annotation (Icon(graphics)); 32 | end SubSystems; 33 | -------------------------------------------------------------------------------- /Basics/Icons/Obsolete_v1_1.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Icons; 2 | model Obsolete_v1_1 "This model will be not longer supported than Version 1.3!" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100, 19 | -100},{100,100}}), graphics={ Polygon( 20 | points={{-100,-100},{100,100},{-100,-100}}, 21 | lineColor={255,0,0}, 22 | smooth=Smooth.None, 23 | fillColor={102,198,0}, 24 | fillPattern=FillPattern.Solid),Polygon( 25 | points={{-100,100},{100,-100},{-100,100}}, 26 | lineColor={255,0,0}, 27 | smooth=Smooth.None, 28 | fillColor={102,198,0}, 29 | fillPattern=FillPattern.Solid), 30 | Text( 31 | extent={{-80,-60},{80,-100}}, 32 | lineColor={238,46,47}, 33 | textString="Supported until ClaRa 1.3.0")}), 34 | Diagram(coordinateSystem(extent={{ 35 | -100,-100},{100,100}}))); 36 | end Obsolete_v1_1; 37 | -------------------------------------------------------------------------------- /Components/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package Components "Containing general description of pumps, heat exchangers,..." 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Components100; 29 | 30 | 31 | annotation (Documentation(info=" 32 | ")); 33 | end Components; 34 | -------------------------------------------------------------------------------- /Basics/Icons/ObsoleteConnector_v1_1.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.Icons; 2 | connector ObsoleteConnector_v1_1 "This model will be not longer supported than Version 1.3!" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100, 19 | -100},{100,100}}), graphics={ Polygon( 20 | points={{-100,-100},{100,100},{-100,-100}}, 21 | lineColor={255,0,0}, 22 | smooth=Smooth.None, 23 | fillColor={102,198,0}, 24 | fillPattern=FillPattern.Solid),Polygon( 25 | points={{-100,100},{100,-100},{-100,100}}, 26 | lineColor={255,0,0}, 27 | smooth=Smooth.None, 28 | fillColor={102,198,0}, 29 | fillPattern=FillPattern.Solid), 30 | Text( 31 | extent={{-80,-60},{80,-100}}, 32 | lineColor={238,46,47}, 33 | textString="Supported until ClaRa 1.3.0")}), 34 | Diagram(coordinateSystem(extent={{ 35 | -100,-100},{100,100}}))); 36 | end ObsoleteConnector_v1_1; 37 | -------------------------------------------------------------------------------- /UsersGuide/Contact/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.UsersGuide; 2 | package Contact 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Contact100; 29 | 30 | 31 | annotation (Documentation(info=" 32 |

33 | ")); 34 | end Contact; 35 | -------------------------------------------------------------------------------- /UsersGuide/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete; 2 | package UsersGuide "User's guide" 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Info100; 29 | 30 | 31 | annotation (Documentation(info=" 32 | 33 | "), Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100}, 34 | {100,100}}), graphics)); 35 | end UsersGuide; 36 | -------------------------------------------------------------------------------- /UsersGuide/Revisions/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.UsersGuide; 2 | package Revisions 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Info100; 29 | 30 | 31 | annotation (Documentation(info=" 32 |

ClaRa 0.1 alpha was released in April 2013

33 |

ClaRa 0.2.2 alpha was released 28. Mar. 2014

34 |

ClaRa 1.0.0 was released 02. Feb. 2015

35 | ")); 36 | end Revisions; 37 | -------------------------------------------------------------------------------- /Components/Furnace/ChemicalReactions/PartialReactionZone.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace.ChemicalReactions; 2 | partial model PartialReactionZone "Model to regard chemical reactions" 3 | extends ClaRa.Basics.Icons.Box; 4 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 5 | outer parameter TILMedia.GasTypes.BaseGas flueGas; 6 | outer parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType; 7 | input ClaRa.Basics.Units.MassFraction xi_fuel_in[fuelType.nc - 1]; 8 | ClaRa.Basics.Units.MassFraction prod_comp[flueGas.nc - 1] "Resulting composition of products"; 9 | //outer ClaRa.Basics.Units.MassFraction xi_prod_comp_test[flueGas.nc-1]; //Resulting composition of products 10 | input ClaRa.Basics.Units.MassFraction xi_flueGas[flueGas.nc - 1]; 11 | 12 | //_________/Educts\__________________ 13 | protected 14 | Modelica.Units.SI.AmountOfSubstance n_C "Amount of elemental carbon inside 1 kg of coal"; 15 | Modelica.Units.SI.AmountOfSubstance n_H "Amount of elemental hydrogen inside 1 kg of coal"; 16 | Modelica.Units.SI.AmountOfSubstance n_O "Amount of elemental oxygen inside 1 kg of coal"; 17 | Modelica.Units.SI.AmountOfSubstance n_N "Amount of elemental nitrogen inside 1 kg of coal"; 18 | Modelica.Units.SI.AmountOfSubstance n_S "Amount of elemental sulfur inside 1 kg of coal"; 19 | Modelica.Units.SI.AmountOfSubstance n_Ash "Amount of ash inside 1 kg of coal"; 20 | Modelica.Units.SI.AmountOfSubstance n_H2O "Amount of water inside 1 kg of coal"; 21 | 22 | //_________/Products\__________________ 23 | Modelica.Units.SI.AmountOfSubstance n_CO "Amount of carbon monoxide produced by 1 kg of coal"; 24 | Modelica.Units.SI.AmountOfSubstance n_CO2 "Amount of carbon dioxide produced by 1 kg of coal"; 25 | Modelica.Units.SI.AmountOfSubstance n_H2O_prod "Amount of water produced by 1 kg of coal"; 26 | Modelica.Units.SI.AmountOfSubstance n_SO2 "Amount of sulfur dioxide produced by 1 kg of coal"; 27 | Modelica.Units.SI.AmountOfSubstance n_N2 "Amount of nitrogen produced by 1 kg of coal"; 28 | Modelica.Units.SI.AmountOfSubstance n_NO "Amount of nitric oxides produced by 1 kg of coal"; 29 | 30 | annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100, 31 | -100},{100,100}}), 32 | graphics={ 33 | Text( 34 | extent={{-58,12},{62,-8}}, 35 | lineColor={0,131,169}, 36 | textString="Reaction Zone", 37 | fillPattern=FillPattern.Solid, 38 | fillColor={0,0,255})})); 39 | 40 | end PartialReactionZone; 41 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/Generic_HT/ConstantHTC_AMTD.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.HeatTransport.Generic_HT; 2 | model ConstantHTC_AMTD "Obsolete HT Model || All Geo || HTC || Constant || AMTD" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Generic_HT.HeatTransfer_L2; 19 | extends Icons.Obsolete_v1_1; 20 | // extends 21 | // ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferVLE; 22 | // extends 23 | // ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferGas;ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Gas_HT.HeatTransfer 24 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.TubeType_L2; 25 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.ShellType_L2; 26 | outer ClaRa.Basics.Records.IComBase_L2 iCom; 27 | 28 | parameter Modelica.Units.SI.CoefficientOfHeatTransfer kc_nom=10 "Constant heat transfer coefficient" annotation (Dialog(group="Heat Transfer")); 29 | 30 | Modelica.Units.SI.CoefficientOfHeatTransfer kc; 31 | equation 32 | 33 | heat.Q_flow = kc*iCom.A_heat*ClaRa.Basics.Functions.Stepsmoother( 34 | 100, 35 | -100, 36 | (DT_wi)*(DT_wo))*(DT_wi + DT_wo)/2; 37 | kc = kc_nom; 38 | 39 | end ConstantHTC_AMTD; 40 | -------------------------------------------------------------------------------- /StaticCycles/FuelSignal_black_a.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | connector FuelSignal_black_a "Signal-based fuel connector" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.1.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | ClaRa.Basics.Media.Fuel.PartialFuel fuelType "Fuel model"; 18 | 19 | input ClaRa.Basics.Units.MassFlowRate m_flow "Mass flow"; 20 | input ClaRa.Basics.Units.EnthalpyMassSpecific LHV "Lower heating value"; 21 | input ClaRa.Basics.Units.MassFraction xi[fuelType.nc-1]; 22 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-40,-100},{40,100}}), graphics={Rectangle( 23 | extent={{-40,100},{40,-100}}, 24 | lineColor={27,36,42}, 25 | fillColor={27,36,42}, 26 | fillPattern=FillPattern.Solid),Polygon( 27 | points={{-100,100},{100,-100},{-100,100}}, 28 | lineColor={255,0,0}, 29 | smooth=Smooth.None, 30 | fillColor={102,198,0}, 31 | fillPattern=FillPattern.Solid), Polygon( 32 | points={{-100,-100},{100,100},{-100,-100}}, 33 | lineColor={255,0,0}, 34 | smooth=Smooth.None, 35 | fillColor={102,198,0}, 36 | fillPattern=FillPattern.Solid), 37 | Text( 38 | extent={{-80,-60},{80,-100}}, 39 | lineColor={238,46,47}, 40 | textString="Supported until ClaRa 1.4.0")}), 41 | Diagram(graphics, 42 | coordinateSystem(extent={{-40,-100},{40,100}}))); 43 | end FuelSignal_black_a; 44 | -------------------------------------------------------------------------------- /StaticCycles/FuelSignal_black_b.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | connector FuelSignal_black_b "Signal-based fuel connector" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.1.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | ClaRa.Basics.Media.Fuel.PartialFuel fuelType "Fuel model"; 18 | 19 | output ClaRa.Basics.Units.MassFlowRate m_flow "Mass flow"; 20 | output ClaRa.Basics.Units.EnthalpyMassSpecific LHV "Lower heating value"; 21 | output ClaRa.Basics.Units.MassFraction xi[fuelType.nc-1]; 22 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-40,-100},{40,100}}), graphics={Rectangle( 23 | extent={{-40,100},{40,-100}}, 24 | lineColor={27,36,42}, 25 | fillColor={27,36,42}, 26 | fillPattern=FillPattern.Solid),Polygon( 27 | points={{-100,100},{100,-100},{-100,100}}, 28 | lineColor={255,0,0}, 29 | smooth=Smooth.None, 30 | fillColor={102,198,0}, 31 | fillPattern=FillPattern.Solid), Polygon( 32 | points={{-100,-100},{100,100},{-100,-100}}, 33 | lineColor={255,0,0}, 34 | smooth=Smooth.None, 35 | fillColor={102,198,0}, 36 | fillPattern=FillPattern.Solid), 37 | Text( 38 | extent={{-80,-60},{80,-100}}, 39 | lineColor={238,46,47}, 40 | textString="Supported until ClaRa 1.4.0")}), 41 | Diagram(graphics, 42 | coordinateSystem(extent={{-40,-100},{40,100}}))); 43 | end FuelSignal_black_b; 44 | -------------------------------------------------------------------------------- /Components/Mills/HardCoalMills/RollerBowlMill_L1.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Mills.HardCoalMills; 2 | model RollerBowlMill_L1 "A simple pulveriser without classifier based on Dolezal" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.Icons.RollerBowlMill; 19 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 20 | 21 | extends ClaRa.Basics.Icons.ComplexityLevel(complexity="L1"); 22 | 23 | parameter Modelica.Units.SI.Time Tau_m=100 "time constant of pulveriser"; 24 | parameter Modelica.Units.SI.MassFlowRate m_flow_dust_0=10 "Initial coal dust flow" annotation (Dialog(group="Initialisation")); 25 | Modelica.Blocks.Continuous.TransferFunction transferFunction( 26 | initType=Modelica.Blocks.Types.Init.InitialOutput, 27 | y_start=m_flow_dust_0, 28 | a={Tau_m*10,Tau_m,1}) 29 | annotation (Placement(transformation(extent={{-40,0},{-20,20}}))); 30 | Modelica.Blocks.Interfaces.RealInput rawCoal "Connector of Real input signal" 31 | annotation (Placement(transformation(extent={{-128,-10},{-88,30}}))); 32 | Modelica.Blocks.Interfaces.RealOutput coalDust "Connector of Real output signal" 33 | annotation (Placement(transformation(extent={{100,0},{120,20}}))); 34 | equation 35 | connect(transferFunction.y, coalDust) annotation (Line( 36 | points={{-19,10},{110,10}}, 37 | color={0,0,127}, 38 | smooth=Smooth.None)); 39 | connect(rawCoal, transferFunction.u) annotation (Line( 40 | points={{-108,10},{-42,10}}, 41 | color={0,0,127}, 42 | smooth=Smooth.None)); 43 | annotation (Diagram(graphics)); 44 | end RollerBowlMill_L1; 45 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/Generic_HT/CharLineHTC_AMTD.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.HeatTransport.Generic_HT; 2 | model CharLineHTC_AMTD "Obsolete HT Model || All Geo || HTC || Characteristic Line || AMTD" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Generic_HT.HeatTransfer_L2; 19 | extends Icons.Obsolete_v1_1; 20 | // extends 21 | // ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferVLE; 22 | // extends 23 | // ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferGas; 24 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.TubeType_L2; 25 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.ShellType_L2; 26 | outer ClaRa.Basics.Records.IComBase_L2 iCom; 27 | 28 | parameter Modelica.Units.SI.CoefficientOfHeatTransfer kc_nom=10 "Constant heat transfer coefficient" annotation (Dialog(group="Heat Transfer")); 29 | parameter Real PL_kc[:, 2]={{0,0.2},{0.5,0.6},{0.7,0.72},{1,1}} "Correction factor for heat transfer in part load" annotation (Dialog(group="Heat Transfer")); 30 | 31 | Modelica.Units.SI.CoefficientOfHeatTransfer kc; 32 | protected 33 | Modelica.Blocks.Tables.CombiTable1Ds kc_corr(table=PL_kc) annotation (Placement(transformation(extent={{-30,-90},{-10,-70}}))); 34 | equation 35 | 36 | //heat.Q_flow = kc*iCom.A_heat* (2*ClaRa.Basics.Functions.Stepsmoother(1e-3, -1e-3, heat.T-T_mean)-1)*DT_mean; 37 | heat.Q_flow = kc*iCom.A_heat*ClaRa.Basics.Functions.Stepsmoother( 38 | 100, 39 | -100, 40 | (DT_wi)*(DT_wo))*(DT_wi + DT_wo)/2; 41 | 42 | kc_corr.u = noEvent(max(1e-3, abs(iCom.m_flow_in))/iCom.m_flow_nom); 43 | kc = kc_corr.y[1]*kc_nom; 44 | 45 | end CharLineHTC_AMTD; 46 | -------------------------------------------------------------------------------- /StaticCycles/Boundary_green.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Boundary_green "Green boundary" 3 | 4 | parameter Boolean source = true "True if boundary is source else sink"; 5 | parameter ClaRa.Basics.Units.MassFlowRate m_flow(fixed= source) annotation(Dialog(enable = source)); 6 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific h(fixed=source) annotation(Dialog(enable = source)); 7 | parameter ClaRa.Basics.Units.Pressure p(fixed= source) annotation(Dialog(enable = source)); 8 | 9 | ClaRa.StaticCycles.Fundamentals.SteamSignal_green inlet_a annotation (Placement(transformation(extent={{-104,-10},{-96,10}}))); 10 | ClaRa.StaticCycles.Fundamentals.SteamSignal_green outlet_b(h=h, m_flow=m_flow, p=p) annotation (Placement(transformation(extent={{96,-10},{104,10}}))); 11 | initial equation 12 | if source then 13 | 14 | else 15 | m_flow= inlet.m_flow; 16 | h=inlet.h; 17 | p=inlet.p; 18 | end if; 19 | 20 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={Line( 21 | points={{-60,0},{-96,0}}, 22 | color={0,131,169}, 23 | smooth=Smooth.None, visible= not source), 24 | Line( 25 | points={{60,0},{96,0}}, 26 | color={0,131,169}, 27 | smooth=Smooth.None, visible= source), 28 | Polygon( 29 | points={{-60,60},{60,60},{60,-60},{-60,-60},{-60,60}}, 30 | lineColor={0,131,169}, 31 | smooth=Smooth.None, 32 | fillColor={255,255,255}, 33 | fillPattern=FillPattern.Solid), 34 | Text( 35 | extent={{-60,60},{60,20}}, 36 | lineColor={115,150,0}, 37 | fillColor={255,255,255}, 38 | fillPattern=FillPattern.Solid, 39 | textString="%p", 40 | visible=source), 41 | Text( 42 | extent={{-60,20},{60,-20}}, 43 | lineColor={115,150,0}, 44 | fillColor={255,255,255}, 45 | fillPattern=FillPattern.Solid, 46 | textString="%m_flow", 47 | visible=source), 48 | Text( 49 | extent={{-60,-20},{60,-60}}, 50 | lineColor={115,150,0}, 51 | fillColor={255,255,255}, 52 | fillPattern=FillPattern.Solid, 53 | textString="%h", 54 | visible=source), Polygon( 55 | points={{-100,-100},{100,100},{-100,-100}}, 56 | lineColor={255,0,0}, 57 | smooth=Smooth.None, 58 | fillColor={102,198,0}, 59 | fillPattern=FillPattern.Solid),Polygon( 60 | points={{-100,100},{100,-100},{-100,100}}, 61 | lineColor={255,0,0}, 62 | smooth=Smooth.None, 63 | fillColor={102,198,0}, 64 | fillPattern=FillPattern.Solid), 65 | Text( 66 | extent={{-80,-60},{80,-100}}, 67 | lineColor={238,46,47}, 68 | textString="Supported until ClaRa 1.3.0")}), 69 | Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics)); 70 | end Boundary_green; 71 | -------------------------------------------------------------------------------- /StaticCycles/Boundary_yellow.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Boundary_yellow "Yellow boundary" 3 | 4 | parameter Boolean source = true "True if boundary is source else sink"; 5 | parameter ClaRa.Basics.Units.MassFlowRate m_flow(fixed = not source) annotation(Dialog(enable = not source)); 6 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific h(fixed = source) annotation(Dialog(enable = source)); 7 | parameter ClaRa.Basics.Units.Pressure p(fixed = source) annotation(Dialog(enable = source)); 8 | 9 | ClaRa.StaticCycles.Fundamentals.SteamSignal_yellow_a inlet(m_flow = m_flow) annotation (Placement(transformation(extent={{-104,-10},{-96,10}}))); 10 | ClaRa.StaticCycles.Fundamentals.SteamSignal_yellow_b outlet(h=h, p = p) annotation (Placement(transformation(extent={{96,-10},{104,10}}))); 11 | initial equation 12 | if source then 13 | m_flow= outlet.m_flow; 14 | else 15 | h=inlet.h; 16 | p=inlet.p; 17 | end if; 18 | 19 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={Line( 20 | points={{-60,0},{-96,0}}, 21 | color={0,131,169}, 22 | smooth=Smooth.None, visible= not source), 23 | Line( 24 | points={{60,0},{96,0}}, 25 | color={0,131,169}, 26 | smooth=Smooth.None, visible= source), 27 | Polygon( 28 | points={{-60,60},{60,60},{60,-60},{-60,-60},{-60,60}}, 29 | lineColor={0,131,169}, 30 | smooth=Smooth.None, 31 | fillColor={255,255,255}, 32 | fillPattern=FillPattern.Solid), 33 | Text( 34 | extent={{-60,60},{60,20}}, 35 | lineColor={235,183,0}, 36 | fillColor={255,255,255}, 37 | fillPattern=FillPattern.Solid, 38 | textString="%p", 39 | visible=source), 40 | Text( 41 | extent={{-60,20},{60,-20}}, 42 | lineColor={235,183,0}, 43 | fillColor={255,255,255}, 44 | fillPattern=FillPattern.Solid, 45 | textString="%m_flow", 46 | visible=not source), 47 | Text( 48 | extent={{-60,-20},{60,-60}}, 49 | lineColor={235,183,0}, 50 | fillColor={255,255,255}, 51 | fillPattern=FillPattern.Solid, 52 | textString="%h", 53 | visible=source), Polygon( 54 | points={{-100,-100},{100,100},{-100,-100}}, 55 | lineColor={255,0,0}, 56 | smooth=Smooth.None, 57 | fillColor={102,198,0}, 58 | fillPattern=FillPattern.Solid),Polygon( 59 | points={{-100,100},{100,-100},{-100,100}}, 60 | lineColor={255,0,0}, 61 | smooth=Smooth.None, 62 | fillColor={102,198,0}, 63 | fillPattern=FillPattern.Solid), 64 | Text( 65 | extent={{-80,-60},{80,-100}}, 66 | lineColor={238,46,47}, 67 | textString="Supported until ClaRa 1.3.0")}), 68 | Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics)); 69 | end Boundary_yellow; 70 | -------------------------------------------------------------------------------- /StaticCycles/Boundary_blue.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Boundary_blue "Blue boundary" 3 | // Blue output: Value of p is unknown and provided BY neighbor component, values of m_flow and h are known in component and provided FOR neighbor component. 4 | 5 | parameter Boolean source = true "True if boundary is source else sink"; 6 | parameter ClaRa.Basics.Units.MassFlowRate m_flow(fixed = source) annotation(Dialog(enable = source)); 7 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific h(fixed = source) annotation(Dialog(enable = source)); 8 | parameter ClaRa.Basics.Units.Pressure p(fixed = not source) annotation(Dialog(enable = not source)); 9 | 10 | ClaRa.StaticCycles.Fundamentals.SteamSignal_blue_a inlet(p=p) annotation (Placement(transformation(extent={{-104,-10},{-96,10}}))); 11 | ClaRa.StaticCycles.Fundamentals.SteamSignal_blue_b outlet(h=h, m_flow=m_flow) annotation (Placement(transformation(extent={{96,-10},{104,10}}))); 12 | initial equation 13 | if source then 14 | p=outlet.p; 15 | else 16 | m_flow= inlet.m_flow; 17 | h=inlet.h; 18 | end if; 19 | 20 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={Line( 21 | points={{-60,0},{-96,0}}, 22 | color={0,131,169}, 23 | smooth=Smooth.None, visible= not source), 24 | Line( 25 | points={{60,0},{96,0}}, 26 | color={0,131,169}, 27 | smooth=Smooth.None, visible= source), 28 | Polygon( 29 | points={{-60,60},{60,60},{60,-60},{-60,-60},{-60,60}}, 30 | lineColor={0,131,169}, 31 | smooth=Smooth.None, 32 | fillColor={255,255,255}, 33 | fillPattern=FillPattern.Solid), 34 | Text( 35 | extent={{-60,60},{60,20}}, 36 | lineColor={0,131,169}, 37 | fillColor={255,255,255}, 38 | fillPattern=FillPattern.Solid, 39 | textString="%p", 40 | visible=not source), 41 | Text( 42 | extent={{-60,20},{60,-20}}, 43 | lineColor={0,131,169}, 44 | fillColor={255,255,255}, 45 | fillPattern=FillPattern.Solid, 46 | textString="%m_flow", 47 | visible=source), 48 | Text( 49 | extent={{-60,-20},{60,-60}}, 50 | lineColor={0,131,169}, 51 | fillColor={255,255,255}, 52 | fillPattern=FillPattern.Solid, 53 | textString="%h", 54 | visible= source), Polygon( 55 | points={{-100,-100},{100,100},{-100,-100}}, 56 | lineColor={255,0,0}, 57 | smooth=Smooth.None, 58 | fillColor={102,198,0}, 59 | fillPattern=FillPattern.Solid),Polygon( 60 | points={{-100,100},{100,-100},{-100,100}}, 61 | lineColor={255,0,0}, 62 | smooth=Smooth.None, 63 | fillColor={102,198,0}, 64 | fillPattern=FillPattern.Solid), 65 | Text( 66 | extent={{-80,-60},{80,-100}}, 67 | lineColor={238,46,47}, 68 | textString="Supported until ClaRa 1.3.0")}), 69 | Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics)); 70 | end Boundary_blue; 71 | -------------------------------------------------------------------------------- /Components/Furnace/BaseClasses/CombustionChamberBase_additional_HPs.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace.BaseClasses; 2 | partial model CombustionChamberBase_additional_HPs 3 | import ClaRa; 4 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 5 | 6 | //________________________/ Connectors \_______________________________________________________ 7 | ClaRa.Basics.Interfaces.HeatPort_a 8 | heat_CarrierTubes 9 | annotation (Placement(transformation(extent={{190,90},{210,110}}))); 10 | ClaRa.Basics.Interfaces.HeatPort_a 11 | heat_TubeBundle 12 | annotation (Placement(transformation(extent={{190,-90},{210,-110}}))); 13 | 14 | //________________________/ replacable modells for heat transfer, pressure loss and geometry \________________________ 15 | replaceable model HeatTransfer_CarrierTubes = 16 | ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Gas_HT.Convection.Convection_carrierTubes_turbulent_L2 17 | constrainedby ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferBaseGas "1st: choose geometry definition | 2nd: edit corresponding record" 18 | annotation (Dialog(group="Heat Transfer"), choicesAllMatching= 19 | true); 20 | 21 | replaceable model HeatTransfer_TubeBundle = 22 | ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Gas_HT.Convection.Convection_tubeBank_L2 23 | constrainedby ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.HeatTransferBaseGas "1st: choose geometry definition | 2nd: edit corresponding record" 24 | annotation (Dialog(group="Heat Transfer"), choicesAllMatching= 25 | true); 26 | 27 | inner HeatTransfer_CarrierTubes heattransfer_CarrierTubes(heatSurfaceAlloc=3) annotation(Placement(transformation(extent={{10,-10}, 28 | {-10,10}}, 29 | rotation=180, 30 | origin={162,60}))); 31 | inner HeatTransfer_TubeBundle heattransfer_TubeBundle(heatSurfaceAlloc=2) annotation(Placement(transformation(extent={{10,10}, 32 | {-10,-10}}, 33 | rotation=180, 34 | origin={162,-60}))); 35 | 36 | ClaRa.Basics.Units.HeatFlowRate Q_flow_CarrierTubes "Heat flow from carrier tubes"; 37 | ClaRa.Basics.Units.HeatFlowRate Q_flow_TubeBundle "Heat flow from tube bundle"; 38 | 39 | equation 40 | //____________/ Heat port temperatures and Q_flows \____________________________ 41 | Q_flow_CarrierTubes = heat_CarrierTubes.Q_flow; 42 | Q_flow_TubeBundle = heat_TubeBundle.Q_flow; 43 | 44 | //_____________/ Connections \______________________________________________ 45 | connect(heattransfer_CarrierTubes.heat, heat_CarrierTubes) annotation (Line( 46 | points={{172,60},{200,60},{200,100}}, 47 | color={167,25,48}, 48 | thickness=0.5, 49 | smooth=Smooth.None)); 50 | connect(heattransfer_TubeBundle.heat, heat_TubeBundle) annotation (Line( 51 | points={{172,-60},{200,-60},{200,-100}}, 52 | color={167,25,48}, 53 | thickness=0.5, 54 | smooth=Smooth.None)); 55 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-300,-100}, 56 | {300,100}}), graphics), Documentation(info=" 57 |

Model description: Base class for furnace sections with additional heat ports

58 |

Contact: Lasse Nielsen, TLK-Thermo GmbH

59 | ")); 60 | end CombustionChamberBase_additional_HPs; 61 | -------------------------------------------------------------------------------- /StaticCycles/Boundary_red.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Boundary_red "Red boundary" 3 | 4 | outer ClaRa.SimCenter simCenter; 5 | 6 | parameter TILMedia.VLEFluidTypes.BaseVLEFluid medium = simCenter.fluid1 "Medium in the component" annotation(choices(choice=simCenter.fluid1 "First fluid defined in global simCenter", 7 | choice=simCenter.fluid2 "Second fluid defined in global simCenter", 8 | choice=simCenter.fluid3 "Third fluid defined in global simCenter"), 9 | Dialog(group="Fundamental Definitions")); 10 | parameter Boolean source = true "True if boundary is source else sink"; 11 | parameter ClaRa.Basics.Units.MassFlowRate m_flow(fixed= not source) annotation(Dialog(enable = not source)); 12 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific h(fixed=source) annotation(Dialog(enable = source)); 13 | parameter ClaRa.Basics.Units.Pressure p(fixed= not source) annotation(Dialog(enable = not source)); 14 | 15 | ClaRa.StaticCycles.Fundamentals.SteamSignal_red_a inlet(m_flow=m_flow, p=p, Medium=medium) annotation (Placement(transformation(extent={{-104,-10},{-96,10}}))); 16 | ClaRa.StaticCycles.Fundamentals.SteamSignal_red_b outlet(h=h, Medium=medium) annotation (Placement(transformation(extent={{96,-10},{104,10}}))); 17 | initial equation 18 | if source then 19 | m_flow= outlet.m_flow; 20 | p=outlet.p; 21 | else 22 | 23 | h=inlet.h; 24 | end if; 25 | 26 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={Line( 27 | points={{-60,0},{-96,0}}, 28 | color={0,131,169}, 29 | smooth=Smooth.None, visible= not source), 30 | Line( 31 | points={{60,0},{96,0}}, 32 | color={0,131,169}, 33 | smooth=Smooth.None, visible= source), 34 | Polygon( 35 | points={{-60,60},{60,60},{60,-60},{-60,-60},{-60,60}}, 36 | lineColor={0,131,169}, 37 | smooth=Smooth.None, 38 | fillColor={255,255,255}, 39 | fillPattern=FillPattern.Solid), 40 | Text( 41 | extent={{-60,60},{60,20}}, 42 | lineColor={150,25,48}, 43 | fillColor={255,255,255}, 44 | fillPattern=FillPattern.Solid, 45 | textString="%p", 46 | visible=not source), 47 | Text( 48 | extent={{-60,20},{60,-20}}, 49 | lineColor={150,25,48}, 50 | fillColor={255,255,255}, 51 | fillPattern=FillPattern.Solid, 52 | textString="%m_flow", 53 | visible=not source), 54 | Text( 55 | extent={{-60,-20},{60,-60}}, 56 | lineColor={150,25,48}, 57 | fillColor={255,255,255}, 58 | fillPattern=FillPattern.Solid, 59 | textString="%h", 60 | visible=source), Polygon( 61 | points={{-100,-100},{100,100},{-100,-100}}, 62 | lineColor={255,0,0}, 63 | smooth=Smooth.None, 64 | fillColor={102,198,0}, 65 | fillPattern=FillPattern.Solid),Polygon( 66 | points={{-100,100},{100,-100},{-100,100}}, 67 | lineColor={255,0,0}, 68 | smooth=Smooth.None, 69 | fillColor={102,198,0}, 70 | fillPattern=FillPattern.Solid), 71 | Text( 72 | extent={{-80,-60},{80,-100}}, 73 | lineColor={238,46,47}, 74 | textString="Supported until ClaRa 1.3.0")}), 75 | Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics)); 76 | end Boundary_red; 77 | -------------------------------------------------------------------------------- /Components/Adapters/FuelFlueGas_join.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Adapters; 2 | model FuelFlueGas_join 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.Adapter2_bw; 18 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 19 | 20 | //__________________________/ Media definintions \______________________________________________ 21 | outer ClaRa.SimCenter simCenter; 22 | inner parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Fuel elemental composition used for combustion" 23 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 24 | 25 | inner parameter TILMedia.GasTypes.BaseGas flueGas = simCenter.flueGasModel "Medium to be used in tubes" 26 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 27 | 28 | Basics.Interfaces.Fuel_inlet fuel_inlet(final fuelType=fuelType) annotation (Placement(transformation(extent={{-110,50},{-90,70}}))); 29 | ClaRa.Basics.Interfaces.GasPortIn flueGas_inlet(Medium=flueGas) 30 | annotation (Placement(transformation(extent={{-110,-70},{-90,-50}}))); 31 | 32 | Basics.Interfaces.FuelFlueGas_outlet fuelFlueGas_outlet(flueGas(Medium=flueGas), final fuelType=fuelType) annotation (Placement(transformation(extent={{90,-10},{110,10}}))); 33 | 34 | equation 35 | fuelFlueGas_outlet.flueGas.m_flow = -flueGas_inlet.m_flow; 36 | fuelFlueGas_outlet.flueGas.T_outflow = inStream(flueGas_inlet.T_outflow); 37 | flueGas_inlet.T_outflow = inStream(fuelFlueGas_outlet.flueGas.T_outflow); 38 | fuelFlueGas_outlet.flueGas.xi_outflow = inStream(flueGas_inlet.xi_outflow); 39 | flueGas_inlet.xi_outflow = inStream(fuelFlueGas_outlet.flueGas.xi_outflow); 40 | fuelFlueGas_outlet.flueGas.p = flueGas_inlet.p; 41 | 42 | fuelFlueGas_outlet.fuel.m_flow = -fuel_inlet.m_flow; 43 | fuelFlueGas_outlet.fuel.T_outflow = inStream(fuel_inlet.T_outflow); 44 | fuel_inlet.T_outflow = inStream(fuelFlueGas_outlet.fuel.T_outflow); 45 | fuelFlueGas_outlet.fuel.xi_outflow = inStream(fuel_inlet.xi_outflow); 46 | fuel_inlet.xi_outflow = inStream(fuelFlueGas_outlet.fuel.xi_outflow); 47 | fuelFlueGas_outlet.fuel.LHV_outflow = inStream(fuel_inlet.LHV_outflow); 48 | fuel_inlet.LHV_outflow = inStream(fuelFlueGas_outlet.fuel.LHV_outflow); 49 | fuelFlueGas_outlet.fuel.cp_outflow = inStream(fuel_inlet.cp_outflow); 50 | fuel_inlet.cp_outflow = inStream(fuelFlueGas_outlet.fuel.cp_outflow); 51 | fuelFlueGas_outlet.fuel.p = fuel_inlet.p; 52 | fuelFlueGas_outlet.fuel.LHV_calculationType = fuel_inlet.LHV_calculationType; 53 | 54 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), 55 | graphics), Diagram(graphics)); 56 | end FuelFlueGas_join; 57 | -------------------------------------------------------------------------------- /StaticCycles/Source_black.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Source_black 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.1.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | outer ClaRa.SimCenter simCenter; 19 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Coal elemental composition used for combustion" annotation(Dialog(group="Parameters")); 20 | 21 | // parameter ClaRa.Basics.Units.Temperature T_FG_nom; 22 | // parameter ClaRa.Basics.Units.MassFlowRate m_flow_FG_nom; 23 | parameter ClaRa.Basics.Units.MassFlowRate m_flow_fuel; 24 | parameter ClaRa.Basics.Units.MassFraction xi_fuel[fuelType.nc-1]; 25 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific LHV; 26 | // final parameter ClaRa.Basics.Units.EnthalpyMassSpecific h_FG_out=TILMedia.GasFunctions.specificEnthalpy_pTxi( 27 | // flueGas, 28 | // 1e5, 29 | // T_FG_nom, 30 | // xi_nom) "Outlet specific enthalpy"; 31 | //final parameter ClaRa.Basics.Units.MassFlowRate m_flow_FG_out=m_flow_FG_nom; 32 | 33 | // h=h_FG_out, 34 | FuelSignal_black_b fuelSignal_black( 35 | fuelType=fuelType, 36 | m_flow=m_flow_fuel, 37 | xi=xi_fuel, 38 | LHV=LHV) annotation (Placement(transformation(extent={{100,-10},{108,10}}), iconTransformation(extent={{100,-10},{108,10}}))); 39 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics={ 40 | Text( 41 | extent={{-60,60},{60,20}}, 42 | lineColor={0,0,0}, 43 | fillColor={255,255,255}, 44 | fillPattern=FillPattern.Solid, 45 | textString="%m_flow_fuel"), 46 | Text( 47 | extent={{-60,20},{60,-20}}, 48 | lineColor={0,0,0}, 49 | fillColor={255,255,255}, 50 | fillPattern=FillPattern.Solid, 51 | textString="%xi_fuel"), 52 | Text( 53 | extent={{-60,-20},{60,-60}}, 54 | lineColor={0,0,0}, 55 | fillColor={255,255,255}, 56 | fillPattern=FillPattern.Solid, 57 | textString="%LHV"), 58 | Line(points={{60,100},{100,0},{60,-100}}, color={0,0,0}), 59 | Polygon( 60 | points={{-100,-100},{100,100},{-100,-100}}, 61 | lineColor={255,0,0}, 62 | smooth=Smooth.None, 63 | fillColor={102,198,0}, 64 | fillPattern=FillPattern.Solid),Polygon( 65 | points={{-100,100},{100,-100},{-100,100}}, 66 | lineColor={255,0,0}, 67 | smooth=Smooth.None, 68 | fillColor={102,198,0}, 69 | fillPattern=FillPattern.Solid), 70 | Text( 71 | extent={{-80,-60},{80,-100}}, 72 | lineColor={238,46,47}, 73 | textString="Supported until ClaRa 1.4.0")}), Diagram(graphics, 74 | coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}))); 75 | end Source_black; 76 | -------------------------------------------------------------------------------- /UsersGuide/Licence/package.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.UsersGuide; 2 | package Licence 3 | //___________________________________________________________________________// 4 | // Package of the ClaRa library, version: 1.0.0 // 5 | // Models of the ClaRa library are tested under DYMOLA v2013 FD01. // 6 | // It is planned to support alternative Simulators like SimulationX in the // 7 | // future // 8 | //___________________________________________________________________________// 9 | // Licensed by the DYNCAP research team under Modelica License 2. // 10 | // Copyright © 2013-2015, DYNCAP research team. // 11 | //___________________________________________________________________________// 12 | // This Modelica package is free software and the use is completely at your // 13 | // own risk; it can be redistributed and/or modified under the terms of the // 14 | // Modelica License 2. For license conditions (including the disclaimer of // 15 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit // 16 | // http://www.modelica.org/licenses/ModelicaLicense2 // 17 | //___________________________________________________________________________// 18 | // DYNCAP is a research project supported by the German Federal Ministry of // 19 | // Economics and Technology (FKZ 03ET2009). // 20 | // The DYNCAP research team consists of the following project partners: // 21 | // Institute of Energy Systems (Hamburg University of Technology), // 22 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 23 | // TLK-Thermo GmbH (Braunschweig, Germany), // 24 | // XRG Simulation GmbH (Hamburg, Germany). // 25 | //___________________________________________________________________________// 26 | 27 | 28 | extends ClaRa.Basics.Icons.PackageIcons.Info100; 29 | 30 | 31 | annotation (Documentation(info=" 32 |
33 | //---------------------------------------------------------------------------//
34 | // ClaRa library, version: 1.0.0                                         //
35 | //                                                                           //
36 | // Licensed by the DYNCAP research team under Modelica License 2.            //
37 | // Copyright © 2013-2015, DYNCAP research team.                                   //
38 | //                                                                           //
39 | // This Modelica package is free software and the use is completely at your  //
40 | // own risk; it can be redistributed and/or modified under the terms of the  //
41 | // Modelica License 2. For license conditions (including the disclaimer of   //
42 | // warranty) see Modelica.UsersGuide.ModelicaLicense2 or visit               //
43 | // http://www.modelica.org/licenses/ModelicaLicense2 .                       //
45 | //                                                                           //
46 | // DYNCAP is a research project supported by the German Federal Ministry of  //
47 | // Economics and Technology (FKZ 03ET2009).                                  //
48 | // The DYNCAP research team consists of the following project partners:      //
49 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology),    //
50 | // Institute of Energy Systems (Hamburg University of Technology),           //
51 | // TLK-Thermo GmbH (Braunschweig, Germany),                                  //
52 | // XRG Simulation GmbH (Hamburg, Germany).                                   //
53 | //---------------------------------------------------------------------------//
54 | 
55 | 56 | ")); 57 | end Licence; 58 | -------------------------------------------------------------------------------- /Components/Adapters/FuelFlueGas_split.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Adapters; 2 | model FuelFlueGas_split 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.Adapter2_fw; 18 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 19 | 20 | 21 | //__________________________/ Media definintions \______________________________________________ 22 | outer ClaRa.SimCenter simCenter; 23 | inner parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Fuel elemental composition used for combustion" 24 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 25 | inner parameter ClaRa.Basics.Media.Slag.PartialSlag slag=simCenter.slagModel "Slag properties" 26 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 27 | inner parameter TILMedia.GasTypes.BaseGas flueGas = simCenter.flueGasModel "Medium to be used in tubes" 28 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 29 | 30 | Basics.Interfaces.Fuel_outlet fuel_outlet(final fuelType=fuelType) annotation (Placement(transformation(extent={{90,50},{110,70}}))); 31 | ClaRa.Basics.Interfaces.GasPortOut flueGas_outlet(Medium=flueGas) 32 | annotation (Placement(transformation(extent={{90,-70},{110,-50}}))); 33 | 34 | Basics.Interfaces.FuelFlueGas_inlet fuelFlueGas_inlet(flueGas(Medium=flueGas), final fuelType=fuelType) annotation (Placement(transformation(extent={{-110,-10},{-90,10}}))); 35 | 36 | equation 37 | fuelFlueGas_inlet.flueGas.m_flow = -flueGas_outlet.m_flow; 38 | fuelFlueGas_inlet.flueGas.T_outflow = inStream(flueGas_outlet.T_outflow); 39 | flueGas_outlet.T_outflow = inStream(fuelFlueGas_inlet.flueGas.T_outflow); 40 | fuelFlueGas_inlet.flueGas.xi_outflow = inStream(flueGas_outlet.xi_outflow); 41 | flueGas_outlet.xi_outflow = inStream(fuelFlueGas_inlet.flueGas.xi_outflow); 42 | fuelFlueGas_inlet.flueGas.p = flueGas_outlet.p; 43 | 44 | fuelFlueGas_inlet.fuel.m_flow = -fuel_outlet.m_flow; 45 | fuelFlueGas_inlet.fuel.T_outflow = inStream(fuel_outlet.T_outflow); 46 | fuel_outlet.T_outflow = inStream(fuelFlueGas_inlet.fuel.T_outflow); 47 | fuelFlueGas_inlet.fuel.xi_outflow = inStream(fuel_outlet.xi_outflow); 48 | fuel_outlet.xi_outflow = inStream(fuelFlueGas_inlet.fuel.xi_outflow); 49 | fuelFlueGas_inlet.fuel.LHV_outflow = inStream(fuel_outlet.LHV_outflow); 50 | fuel_outlet.LHV_outflow = inStream(fuelFlueGas_inlet.fuel.LHV_outflow); 51 | fuelFlueGas_inlet.fuel.cp_outflow = inStream(fuel_outlet.cp_outflow); 52 | fuel_outlet.cp_outflow = inStream(fuelFlueGas_inlet.fuel.cp_outflow); 53 | fuelFlueGas_inlet.fuel.p = fuel_outlet.p; 54 | fuelFlueGas_inlet.fuel.LHV_calculationType = fuel_outlet.LHV_calculationType; 55 | 56 | annotation (Icon(graphics), 57 | Diagram(graphics)); 58 | end FuelFlueGas_split; 59 | -------------------------------------------------------------------------------- /package.mo: -------------------------------------------------------------------------------- 1 | within ; 2 | package ClaRa_Obsolete "ClaRa obsolete models package" 3 | import SI = ClaRa_Obsolete.Basics.Units; 4 | 5 | 6 | annotation (preferedView="info",version="1.8.0", 7 | uses( 8 | ClaRa(version="1.8.0"), 9 | TILMedia(version="1.8.0 ClaRa"), 10 | Modelica(version="4.0.0")), Icon(coordinateSystem(preserveAspectRatio= 11 | false, extent={{-100,-100},{100,100}}), 12 | graphics={Bitmap( 13 | extent={{-100,-100},{100,100}}, 14 | imageSource= 15 | "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAACXBIWXMAABcSAAAXEgFnn9JSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB8tJREFUeNrs3WFu6joQgFFceZXZC/xgL7BNV0itRCUaEbDD2D5nA0/Kzfjz0PKaDsdLOQDARl8eAQACAoCAACAgAAgIAAgIAAICgIAAICAACAgACAgAAgKAgAAgIAAICAAICAACAoCAACAgAAgIAAgIAAICgIAAICAATCbv8R8p5yV51AD7SadrsYEAEJKAACAgAAgIAAICgIAAgIAAICAACAgAAgKAgACAgAAgIAAICAACAsD4skfAbLb8nQR/ywYEBJrGRmgQEKB6aMQFAQGqxUVUEBCgSlQEBQEBBAUBAWIERUwQEMB2goAAthPwTXToPCZbvhgJNhDAVoINBLCVYAMBbCXYQABbCQgIICQICCAkCAggJAgIICQICCAkQoKAAEKCgABCgoAAPYbEU0BAANsIAgLYRhAQwDaCgABCgoAAPBkST0FAAEQEAQH2j4iQCAiAbQQBAWwjCAhgG0FAABFBQABEREAAWkZESAQEwDYiIAAigoAAIoKAACKCgACIiIAAiAgCAogIAgKMExEhERAA24iAAIgIAgKICAICgIAA2EIEBEBEBARARBAQQEQQEEBEEBAAEREQABEREAARQUAAEBAAW4iAAIiIgACIiIAAiAgCAoCAANhCBARARAQEQEQEBAAEBMAWIiAAIiIgAAgIgC1EQABEBAEBQEAAbCECAoCAANhCEBBARHhV9ghwOAACgkg8qZyXJDzc/r3/excQEMSiSljEBQQE0agaF1GxhQgIiMbbURETBAREQ0xsIQgIwiEm0IrvgfCRcMx0qN5i4nbrQmMDAQP69lbioMIGAjYOG4lLjg0EDKONBGwg2DhsJLj4CAiGT0hAQLB1sCEknoKLkIBg2LCNICAgHrYR7zb3/BYWhquTiHjm2EAQD2wj3nUBwUAhIggIiIeIgIAgHiKCd19AMECICAKCeCAi5kBAMDSICALiESAeIgICgniICOZCQDAkiAgCgnggIggI4oGImBMEBEQEBAS3KkQEAUE8wMwICAYBWwgCAogICAi2DzA/AoKXH1sIAgKICAKC7QMQEMAWgsvYI9lr4IV3SM4ZEQcgAgKCAR/hIyzbR/fhEA/RRUBAOHAxExC85MJhC2F0fgaCgw6wgTDe9mHjEGcEBBxsICDYPsQDRtnyBQSbB545AoKDzFMAAcFaLR6ePwICDi9AQBAPQEB4pKePr8TDv4eZExBwWIGAAICAWKVtH4CAAOKOgOCAAgQExAMEBAAEZEaz/3lNbIoICA4lcIETEAAEBGwfgIAAICAACAiv8xtY1OZjRwQEBxEgIAAICAACAoCAAICAACAgAISTPYLtfOcC7yfYQAAQEAAEBAABAUBAAEBAABAQAASEEfleAggIAAgI2PZAQAAQENyMAQEBQEAAWx7rynlJAgIOOEBA3DQABARbCCAggDAjIOCwAwEBEQEEBMQYBCQmv4nl4AMBARHx/HChFBAcgoCAAMKLgIDDEASEO36QLiKeFQICgQ5GhyMICLhhezbDm/mTCAHBQemZgIC4fTgwAQGBPxEREjFFQEBIxAMB4ZePsYQEsz+j7BVghFv5yIMslggIiIl4ICA8XmUNe+xDt7eweJ8QELCliMegl8bZn4EfooN4gIC4kSAeICAgHiAggHiMxacNAuLFQjxAQEA8QEBsIUwSDvEw3wIC2DoQENxSsHWAgICtAxfDpvyvTEA4wAbitkKkcIgHNhDAxoELoQ3ES4eNA2wgYNsAAZlhC3HYiAZ9z7CnICAigliAgIA4wCf5Ibo1GDC3AgKAgLjNAOZVQAAQENxqwJwiIF5OAAEBQEBsIYDZFBC8qICAALjUISBeWAABERHAHAoIXl5AQABc4AQELzGAgIgIYOYExAsNICCICJgzAcHLDeZLQPCSAwgIgIuZgHjZAQQEEQGzJCB48cEMCQgGAEBARAQwNwKCYQDzIiDUHQqDAQgIbldgPgQEQwLmQkAwLAACIiJgFhAQDA6YAQGh1QAZIkBAcBMD77yAYKDAuy4gdDZYhgvxQEAwZICAYBsBFyMBwdCB91hAsI2AeCAgCAnigYBgKMF7KiDYRkA8BAQhAQQEhATbBwKCkCAetJE9At4d5HS6Fk8E8bCBgK0E8UBAEBLEg3Z8hEXTgffxFuIhICAmiAcCQowDQVAQDwEB2wniISAQ59AQFe8BAgJVDxNhEQ8EBJoeNEIjHAgI2GDEg4B8kRAQDwQEEA8EBBAPBARAPEbkh+iAcGADAcQDAQHEg+B8hAUIBzYQQDywgQDCgQ0EEA8EBEA8+OEjLEA4EBBAONiPj7AA8cAGAggHAgIIB8H5CAsQD2wggHAgIIBwICCAcCAggHCAgIBwgIAAwoGAAKKBgADCgYAAogECAqIBAgLCAQICCAYCAogGAgIIBggICAYICIgFCAiIBQgIiAMICIgAsMbfRAdAQAAQEAAEBAABAQABAUBAABAQAAQEAAEBAAEBQEAAEBAABAQAAQEAAQFAQAAQEAAEBAABAQABAUBAABAQAAQEAAEBAAEBQEAAEBAABAQAAQEAAQFAQACIKB2Ol+IxAGADAUBAABAQAAQEAAQEAAEBQEAAEBAABAQABAQAAQFAQAAQEAAEBAAEBAABAUBAABAQAAQEAAQEAAEBQEAAEBAABAQA1n0LMACcLvNwDcdETgAAAABJRU5ErkJggg==", 16 | fileName="modelica://ClaRa/figures/ClaRa-Logo.png")}), 17 | conversion(from(version="0.0", script="modelica://ClaRa/Scripts/ConvertFRom00.mos"), 18 | from(version="0.1 alpha", script="modelica://ClaRa/Scripts/ConvertFRom01.mos"), 19 | from(version="0.2 alpha", script="modelica://ClaRa/Scripts/ConvertFRom02.mos"), 20 | from(version="0.2.1 alpha", script="modelica://ClaRa/Scripts/ConvertFRom021.mos"), 21 | from( 22 | version="1.0.1", 23 | to="Intermediate", 24 | change(item=convertClass("ClaRa.SubSystems.Boiler.SteamGenerator_L3_vr", "ClaRa_Obsolete.SubSystems.SteamGenerator_L3_vr"))), 25 | noneFromVersion="1.2.2"), 26 | Documentation(info=" 27 |

28 | ")); 29 | end ClaRa_Obsolete; 30 | -------------------------------------------------------------------------------- /Components/Furnace/ChemicalReactions/CoalReactionZone.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Furnace.ChemicalReactions; 2 | model CoalReactionZone 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa_Obsolete.Components.Furnace.ChemicalReactions.PartialReactionZone; 19 | //Please note that the following calculations are carried out for 1 kg of fuel! Because the factor of 1 would have no influence it is not shown inside these equations. 20 | 21 | parameter Real xi_slag = 0.1 "Fraction of Ash that leaves combustion chamber at bottom due to gravity" 22 | annotation (Dialog(group="Slag parameters")); 23 | 24 | parameter Real xi_NOx=1000e-6 "Fraction of burned fuel N being converted to NOx" 25 | annotation(Dialog(group="Toxic substance in fluegas")); 26 | parameter Real xi_CO=1000e-6 "Fraction of burned fuel C being converted to CO" 27 | annotation(Dialog(group="Toxic substance in fluegas")); 28 | 29 | equation 30 | n_C = xi_fuel_in[1]/ClaRa.Basics.Constants.M_C; 31 | n_H = xi_fuel_in[2]/ClaRa.Basics.Constants.M_H; 32 | n_O = xi_fuel_in[3]/ClaRa.Basics.Constants.M_O; 33 | n_N = xi_fuel_in[4]/ClaRa.Basics.Constants.M_N; 34 | // N not N2!!!!!! 35 | n_S = xi_fuel_in[5]/ClaRa.Basics.Constants.M_S; 36 | n_Ash = xi_fuel_in[6]/ClaRa.Basics.Constants.M_Ash; 37 | n_H2O = (1 - sum(xi_fuel_in))/ClaRa.Basics.Constants.M_H2O; 38 | 39 | 0 = xi_fuel_in[1]/ClaRa.Basics.Constants.M_C*xi_CO - n_CO; 40 | 0 = xi_fuel_in[4]/ClaRa.Basics.Constants.M_N*xi_NOx - n_NO; 41 | 0 = xi_fuel_in[1]/ClaRa.Basics.Constants.M_C - n_CO2 - n_CO; 42 | 0 = xi_fuel_in[2]/ClaRa.Basics.Constants.M_H/2 + (1 - sum(xi_fuel_in))/(ClaRa.Basics.Constants.M_H*2 + ClaRa.Basics.Constants.M_O) - n_H2O_prod; 43 | 0 = xi_fuel_in[5]/ClaRa.Basics.Constants.M_S - n_SO2; 44 | 0 = xi_fuel_in[4]/ClaRa.Basics.Constants.M_N/2 - n_N2 - n_NO/2; 45 | 46 | for i in 1:(flueGas.nc-1) loop 47 | if i==1 then prod_comp[1] =xi_fuel_in[6]*(1 - xi_slag); 48 | else if i==2 then 49 | prod_comp[2] = n_CO*(ClaRa.Basics.Constants.M_C + ClaRa.Basics.Constants.M_O); 50 | else if i==3 then 51 | prod_comp[3] = n_CO2*(ClaRa.Basics.Constants.M_C + 2*ClaRa.Basics.Constants.M_O); 52 | else if i==4 then 53 | prod_comp[4] = n_SO2*(ClaRa.Basics.Constants.M_S + 2*ClaRa.Basics.Constants.M_O); 54 | else if i==5 then 55 | prod_comp[5] = n_N2*(2*ClaRa.Basics.Constants.M_N); 56 | else if i==6 then 57 | prod_comp[6] = -(n_CO/2 + n_CO2 + n_NO/2 + n_H/4.0 + n_S - n_O/2)*ClaRa.Basics.Constants.M_O*2.0; 58 | else if i==7 then 59 | prod_comp[7] = n_NO*(ClaRa.Basics.Constants.M_N + ClaRa.Basics.Constants.M_O); 60 | else if i==8 then 61 | prod_comp[8] = n_H2O_prod*(ClaRa.Basics.Constants.M_H*2 + ClaRa.Basics.Constants.M_O); 62 | else 63 | prod_comp[i] = 0; 64 | end if; end if; end if; end if; end if; end if; end if; end if; 65 | end for; 66 | 67 | end CoalReactionZone; 68 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/SpatialDistribution/RealMixed.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.SpatialDistribution; 2 | model RealMixed "Mixing | Real | outlet states depending volume fractions | All geometries" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | import ClaRa.Basics.Functions.Stepsmoother; 18 | extends ClaRa.Basics.ControlVolumes.Fundamentals.SpacialDistribution.RealPhases; 19 | extends ClaRa.Basics.Icons.RealMixing; 20 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_1; 21 | parameter ClaRa.Basics.Units.VolumeFraction eps_mix[2]={0.2,0.8} "Volume fraction V_1/V_tot of min/max mixed outlet"; 22 | 23 | protected 24 | ClaRa.Basics.Units.MassFraction steamQuality_in[geo.N_inlet]; 25 | ClaRa.Basics.Units.MassFraction steamQuality_out[geo.N_outlet]; 26 | constant ClaRa.Basics.Units.MassFlowRate m_flow_eps=1e-3; 27 | equation 28 | //_________________________Allocate mass flow rates to the two zones_____________ 29 | m_flow_inliq = {(2 - zoneAlloc_in[1])*iCom.m_flow_in[i] for i in 1:geo.N_inlet}; 30 | m_flow_invap = {(zoneAlloc_in[1] - 1)*iCom.m_flow_in[i] for i in 1:geo.N_inlet}; 31 | m_flow_outliq = {(2 - zoneAlloc_out[i])*iCom.m_flow_out[i] for i in 1:geo.N_outlet}; 32 | m_flow_outvap = {(zoneAlloc_out[i] - 1)*iCom.m_flow_out[i] for i in 1:geo.N_outlet}; 33 | //_________________________Calculattion of additional media data_________________ 34 | steamQuality_in = {TILMedia.VLEFluidObjectFunctions.steamMassFraction_phxi( 35 | iCom.p_in[i], 36 | iCom.h_in[i], 37 | iCom.xi_in[i, :], 38 | iCom.fluidPointer_in[i]) for i in 1:iCom.N_inlet}; 39 | steamQuality_out = {TILMedia.VLEFluidObjectFunctions.steamMassFraction_phxi( 40 | iCom.p_out[i], 41 | iCom.h_out[i], 42 | iCom.xi_out[i, :], 43 | iCom.fluidPointer_out[i]) for i in 1:iCom.N_outlet}; 44 | 45 | //_________________________Calculation of the Level______________________________ 46 | 47 | level_abs = -1; 48 | level_rel = iCom.volume[1]/geo.volume; 49 | 50 | //_________________________Calculation of the outflowing enthalpy _________________ 51 | for i in 1:iCom.N_outlet loop 52 | zoneAlloc_out[i] = Stepsmoother( 53 | -m_flow_eps*0, 54 | m_flow_eps, 55 | iCom.m_flow_out[i])*Stepsmoother( 56 | eps_mix[1], 57 | eps_mix[2], 58 | iCom.volume[1]/geo.volume) + Stepsmoother( 59 | m_flow_eps, 60 | -m_flow_eps*0, 61 | iCom.m_flow_out[i])*steamQuality_out[i] + 1; 62 | end for; 63 | for i in 1:iCom.N_inlet loop 64 | zoneAlloc_in[i] = Stepsmoother( 65 | -m_flow_eps*0, 66 | m_flow_eps, 67 | iCom.m_flow_in[i])*Stepsmoother( 68 | eps_mix[1], 69 | eps_mix[2], 70 | iCom.volume[1]/geo.volume) + Stepsmoother( 71 | m_flow_eps, 72 | -m_flow_eps*0, 73 | iCom.m_flow_in[i])*steamQuality_in[i] + 1; 74 | end for; 75 | 76 | //__________________Calculation of the geostatic pressure differences_______________ 77 | Delta_p_geo_in = zeros(geo.N_inlet); 78 | Delta_p_geo_out = zeros(geo.N_outlet); 79 | 80 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics)); 81 | end RealMixed; 82 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/E_Filter/test_E_Filter_detailed.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter; 2 | model test_E_Filter_detailed 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.PackageIcons.ExecutableExampleb50; 18 | ClaRa.Components.BoundaryConditions.BoundaryGas_Txim_flow idealGasFlowSource_XRG( 19 | variable_m_flow=false, 20 | m_flow_const=1, 21 | variable_T=false, 22 | T_const=473.15, 23 | xi_const={0.01,0,0.73,0,0.065,0.036,0,0.13,0.0}) 24 | annotation (Placement(transformation(extent={{-80,-40},{-60,-20}}))); 25 | ClaRa.Components.BoundaryConditions.BoundaryGas_pTxi idealGasPressureSink( p_const=100000, xi_const={0.01,0,0.73,0,0.065,0.036,0,0.13,0.0}) 26 | annotation (Placement(transformation( 27 | extent={{-10,-10},{10,10}}, 28 | rotation=180, 29 | origin={30,-30}))); 30 | inner ClaRa.SimCenter simCenter(redeclare TILMedia.GasTypes.FlueGasTILMedia flueGasModel) annotation (Placement(transformation(extent={{80,60},{100,80}}))); 31 | ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter.E_Filter_L2_detailed_old e_Filter_dynamic(redeclare model Geometry = ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.GenericGeometry, use_dynamicMassbalance=true) annotation (Placement(transformation(extent={{-44,-40},{-24,-20}}))); 32 | 33 | Modelica.Blocks.Sources.Ramp U_applied( 34 | duration=10, 35 | height=20e3, 36 | startTime=10, 37 | offset=1000) annotation (Placement(transformation( 38 | extent={{-10,-10},{10,10}}, 39 | rotation=0, 40 | origin={-70,0}))); 41 | Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedTemperatureTop1(T=293.15) 42 | annotation (Placement(transformation( 43 | extent={{10,-10},{-10,10}}, 44 | rotation=180, 45 | origin={-70,32}))); 46 | equation 47 | connect(U_applied.y, e_Filter_dynamic.U_applied) annotation (Line( 48 | points={{-59,0},{-41.4,0},{-41.4,-18.8}}, 49 | color={0,0,127}, 50 | smooth=Smooth.None)); 51 | connect(idealGasFlowSource_XRG.gas_a, e_Filter_dynamic.inlet) annotation ( 52 | Line( 53 | points={{-60,-30},{-44,-30}}, 54 | color={118,106,98}, 55 | thickness=0.5, 56 | smooth=Smooth.None)); 57 | connect(e_Filter_dynamic.outlet, idealGasPressureSink.gas_a) annotation (Line( 58 | points={{-24,-30},{20,-30}}, 59 | color={118,106,98}, 60 | thickness=0.5, 61 | smooth=Smooth.None)); 62 | connect(fixedTemperatureTop1.port, e_Filter_dynamic.heat) annotation (Line( 63 | points={{-60,32},{-34,32},{-34,-20}}, 64 | color={191,0,0}, 65 | smooth=Smooth.None)); 66 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-100, 67 | -50},{100,80}}), 68 | graphics={Text( 69 | extent={{-98,74},{-24,64}}, 70 | lineColor={0,128,0}, 71 | horizontalAlignment=TextAlignment.Left, 72 | fontSize=12, 73 | textString="________________________________________________________________ 74 | PURPOSE: 75 | >>Tester for the E_Filter_detailed component"), 76 | Text( 77 | extent={{-100,80},{-14,70}}, 78 | lineColor={0,128,0}, 79 | fontSize=34, 80 | textString="TESTED -- 2014-10-08 //LN")}), 81 | experiment(StopTime=30), 82 | __Dymola_experimentSetupOutput, 83 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-50},{100,80}}))); 84 | end test_E_Filter_detailed; 85 | -------------------------------------------------------------------------------- /Components/Adapters/FuelSlagFlueGas_join.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Adapters; 2 | model FuelSlagFlueGas_join 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.Adapter3_bw; 18 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 19 | 20 | //__________________________/ Media definintions \______________________________________________ 21 | outer ClaRa.SimCenter simCenter; 22 | inner parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Fuel elemental composition used for combustion" 23 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 24 | inner parameter ClaRa.Basics.Media.Slag.PartialSlag slagType=simCenter.slagModel "Slag properties" 25 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 26 | inner parameter TILMedia.GasTypes.BaseGas flueGas = simCenter.flueGasModel "Medium to be used in tubes" 27 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 28 | 29 | Basics.Interfaces.Fuel_inlet fuel_inlet(fuelType=fuelType) annotation (Placement(transformation(extent={{-110,50},{-90,70}}))); 30 | ClaRa.Basics.Interfaces.GasPortIn flueGas_inlet(Medium=flueGas) 31 | annotation (Placement(transformation(extent={{-110,-70},{-90,-50}}))); 32 | ClaRa.Basics.Interfaces.Slag_outlet slag_outlet(slagType=slagType) annotation (Placement(transformation(extent={{-110,-10},{-90,10}}), iconTransformation(extent={{-110,-10},{-90,10}}))); 33 | 34 | Basics.Interfaces.FuelSlagFlueGas_outlet fuelSlagFlueGas_outlet( 35 | flueGas(Medium=flueGas), 36 | final fuelType=fuelType, 37 | final slagType=slagType) annotation (Placement(transformation( 38 | extent={{-10,-10},{10,10}}, 39 | rotation=270, 40 | origin={100,0}), iconTransformation( 41 | extent={{-10,-10},{10,10}}, 42 | rotation=0, 43 | origin={100,0}))); 44 | 45 | equation 46 | fuelSlagFlueGas_outlet.flueGas.m_flow = -flueGas_inlet.m_flow; 47 | fuelSlagFlueGas_outlet.flueGas.T_outflow = inStream(flueGas_inlet.T_outflow); 48 | flueGas_inlet.T_outflow = inStream(fuelSlagFlueGas_outlet.flueGas.T_outflow); 49 | fuelSlagFlueGas_outlet.flueGas.xi_outflow = inStream(flueGas_inlet.xi_outflow); 50 | flueGas_inlet.xi_outflow = inStream(fuelSlagFlueGas_outlet.flueGas.xi_outflow); 51 | fuelSlagFlueGas_outlet.flueGas.p = flueGas_inlet.p; 52 | 53 | fuelSlagFlueGas_outlet.fuel.m_flow = -fuel_inlet.m_flow; 54 | fuelSlagFlueGas_outlet.fuel.T_outflow = inStream(fuel_inlet.T_outflow); 55 | fuel_inlet.T_outflow = inStream(fuelSlagFlueGas_outlet.fuel.T_outflow); 56 | fuelSlagFlueGas_outlet.fuel.xi_outflow = inStream(fuel_inlet.xi_outflow); 57 | fuel_inlet.xi_outflow = inStream(fuelSlagFlueGas_outlet.fuel.xi_outflow); 58 | fuelSlagFlueGas_outlet.fuel.LHV_outflow = inStream(fuel_inlet.LHV_outflow); 59 | fuel_inlet.LHV_outflow = inStream(fuelSlagFlueGas_outlet.fuel.LHV_outflow); 60 | fuelSlagFlueGas_outlet.fuel.cp_outflow = inStream(fuel_inlet.cp_outflow); 61 | fuel_inlet.cp_outflow = inStream(fuelSlagFlueGas_outlet.fuel.cp_outflow); 62 | fuelSlagFlueGas_outlet.fuel.p = fuel_inlet.p; 63 | fuelSlagFlueGas_outlet.fuel.LHV_calculationType= fuel_inlet.LHV_calculationType; 64 | 65 | fuelSlagFlueGas_outlet.slag.m_flow = -slag_outlet.m_flow; 66 | fuelSlagFlueGas_outlet.slag.T_outflow = inStream(slag_outlet.T_outflow); 67 | slag_outlet.T_outflow = inStream(fuelSlagFlueGas_outlet.slag.T_outflow); 68 | fuelSlagFlueGas_outlet.slag.p = slag_outlet.p; 69 | 70 | annotation (Icon(graphics), Diagram(graphics)); 71 | end FuelSlagFlueGas_join; 72 | -------------------------------------------------------------------------------- /Components/Adapters/FuelSlagFlueGas_split.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Adapters; 2 | model FuelSlagFlueGas_split 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.Adapter3_fw; 18 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 19 | 20 | //__________________________/ Media definintions \______________________________________________ 21 | outer ClaRa.SimCenter simCenter; 22 | inner parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Fuel elemental composition used for combustion" 23 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 24 | inner parameter ClaRa.Basics.Media.Slag.PartialSlag slagType=simCenter.slagModel "Slag properties" 25 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 26 | inner parameter TILMedia.GasTypes.BaseGas flueGas = simCenter.flueGasModel "Medium to be used in tubes" 27 | annotation(choicesAllMatching, Dialog(group="Fundamental Medium Definitions")); 28 | 29 | Basics.Interfaces.Fuel_outlet fuel_outlet(fuelType=fuelType) annotation (Placement(transformation(extent={{90,50},{110,70}}))); 30 | ClaRa.Basics.Interfaces.GasPortOut flueGas_outlet(Medium=flueGas) 31 | annotation (Placement(transformation(extent={{90,-70},{110,-50}}))); 32 | ClaRa.Basics.Interfaces.Slag_inlet slag_inlet(slagType=slagType) annotation (Placement(transformation(extent={{90,-10},{110,10}}), iconTransformation(extent={{90,-10},{110,10}}))); 33 | 34 | Basics.Interfaces.FuelSlagFlueGas_inlet fuelSlagFlueGas_inlet( 35 | flueGas(Medium=flueGas), 36 | final fuelType=fuelType, 37 | final slagType=slagType) annotation (Placement(transformation( 38 | extent={{-10,-10},{10,10}}, 39 | rotation=270, 40 | origin={-98,0}), iconTransformation( 41 | extent={{-10,-10},{10,10}}, 42 | rotation=0, 43 | origin={-100,0}))); 44 | 45 | equation 46 | fuelSlagFlueGas_inlet.flueGas.m_flow = -flueGas_outlet.m_flow; 47 | fuelSlagFlueGas_inlet.flueGas.T_outflow = inStream(flueGas_outlet.T_outflow); 48 | flueGas_outlet.T_outflow = inStream(fuelSlagFlueGas_inlet.flueGas.T_outflow); 49 | fuelSlagFlueGas_inlet.flueGas.xi_outflow = inStream(flueGas_outlet.xi_outflow); 50 | flueGas_outlet.xi_outflow = inStream(fuelSlagFlueGas_inlet.flueGas.xi_outflow); 51 | fuelSlagFlueGas_inlet.flueGas.p = flueGas_outlet.p; 52 | 53 | fuelSlagFlueGas_inlet.fuel.m_flow = -fuel_outlet.m_flow; 54 | fuelSlagFlueGas_inlet.fuel.T_outflow = inStream(fuel_outlet.T_outflow); 55 | fuel_outlet.T_outflow = inStream(fuelSlagFlueGas_inlet.fuel.T_outflow); 56 | fuelSlagFlueGas_inlet.fuel.xi_outflow = inStream(fuel_outlet.xi_outflow); 57 | fuel_outlet.xi_outflow = inStream(fuelSlagFlueGas_inlet.fuel.xi_outflow); 58 | fuelSlagFlueGas_inlet.fuel.LHV_outflow = inStream(fuel_outlet.LHV_outflow); 59 | fuel_outlet.LHV_outflow = inStream(fuelSlagFlueGas_inlet.fuel.LHV_outflow); 60 | fuelSlagFlueGas_inlet.fuel.cp_outflow = inStream(fuel_outlet.cp_outflow); 61 | fuel_outlet.cp_outflow = inStream(fuelSlagFlueGas_inlet.fuel.cp_outflow); 62 | fuelSlagFlueGas_inlet.fuel.p = fuel_outlet.p; 63 | fuelSlagFlueGas_inlet.fuel.LHV_calculationType= fuel_outlet.LHV_calculationType; 64 | 65 | fuelSlagFlueGas_inlet.slag.m_flow = -slag_inlet.m_flow; 66 | fuelSlagFlueGas_inlet.slag.T_outflow = inStream(slag_inlet.T_outflow); 67 | slag_inlet.T_outflow = inStream(fuelSlagFlueGas_inlet.slag.T_outflow); 68 | fuelSlagFlueGas_inlet.slag.p = slag_inlet.p; 69 | 70 | annotation (Icon(graphics), 71 | Diagram(graphics)); 72 | end FuelSlagFlueGas_split; 73 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/E_Filter/test_E_Filter_ideal.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter; 2 | model test_E_Filter_ideal "with flue gas model that includes argon" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.PackageIcons.ExecutableExampleb50; 18 | ClaRa.Components.BoundaryConditions.BoundaryGas_Txim_flow idealGasFlowSource_XRG( 19 | m_flow_const=10, 20 | variable_m_flow=true, 21 | variable_T=true, 22 | xi_const={0.01,0,0.73,0,0.065,0.036,0,0.13,0.0}) annotation (Placement(transformation(extent={{-40,-28},{-20,-8}}))); 23 | ClaRa.Components.BoundaryConditions.BoundaryGas_pTxi idealGasPressureSink(p_const=100000, xi_const={0.0,0,0.73,0,0.065,0.036,0,0.13,0.0}) annotation (Placement(transformation( 24 | extent={{-10,-10},{10,10}}, 25 | rotation=180, 26 | origin={70,-18}))); 27 | inner ClaRa.SimCenter simCenter(redeclare TILMedia.GasTypes.FlueGasTILMedia flueGasModel) annotation (Placement(transformation(extent={{80,40},{100,60}}))); 28 | Modelica.Blocks.Sources.Ramp massFlowRate( 29 | startTime=5, 30 | duration=1, 31 | height=-2, 32 | offset=1) annotation (Placement(transformation( 33 | extent={{-10,-10},{10,10}}, 34 | rotation=0, 35 | origin={-70,2}))); 36 | Modelica.Blocks.Sources.Ramp Temperature( 37 | duration=1, 38 | startTime=1, 39 | height=50, 40 | offset=273.15 + 150) 41 | annotation (Placement(transformation( 42 | extent={{-10,-10},{10,10}}, 43 | rotation=0, 44 | origin={-70,-30}))); 45 | ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter.E_Filter_L2_simple_old e_Filter_dynamic(separationRate=0.9995, xi_start={0.0,0,0.73,0,0.065,0.036,0,0.13,0.0}) annotation (Placement(transformation(extent={{-4,-28},{16,-8}}))); 46 | Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedTemperatureTop1(T=293.15) 47 | annotation (Placement(transformation( 48 | extent={{10,-10},{-10,10}}, 49 | rotation=180, 50 | origin={-70,30}))); 51 | equation 52 | 53 | connect(massFlowRate.y, idealGasFlowSource_XRG.m_flow) annotation (Line( 54 | points={{-59,2},{-50,2},{-50,-12},{-40,-12}}, 55 | color={0,0,127}, 56 | smooth=Smooth.None)); 57 | connect(Temperature.y, idealGasFlowSource_XRG.T) 58 | annotation (Line( 59 | points={{-59,-30},{-50,-30},{-50,-18},{-40,-18}}, 60 | color={0,0,127}, 61 | smooth=Smooth.None)); 62 | connect(idealGasFlowSource_XRG.gas_a, e_Filter_dynamic.inlet) annotation ( 63 | Line( 64 | points={{-20,-18},{-4,-18}}, 65 | color={118,106,98}, 66 | thickness=0.5, 67 | smooth=Smooth.None)); 68 | connect(e_Filter_dynamic.outlet, idealGasPressureSink.gas_a) annotation (Line( 69 | points={{16,-18},{60,-18}}, 70 | color={118,106,98}, 71 | thickness=0.5, 72 | smooth=Smooth.None)); 73 | connect(fixedTemperatureTop1.port, e_Filter_dynamic.heat) annotation (Line( 74 | points={{-60,30},{6,30},{6,-8}}, 75 | color={191,0,0}, 76 | smooth=Smooth.None)); 77 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-100, 78 | -50},{100,60}}), 79 | graphics={Text( 80 | extent={{-98,54},{-24,44}}, 81 | lineColor={0,128,0}, 82 | horizontalAlignment=TextAlignment.Left, 83 | fontSize=12, 84 | textString="________________________________________________________________ 85 | PURPOSE: 86 | >>Tester for the E_Filter_ideal component"), 87 | Text( 88 | extent={{-100,60},{-20,50}}, 89 | lineColor={0,128,0}, 90 | fontSize=34, 91 | textString="TESTED -- 2014-10-08 //LN")}), 92 | experiment(StopTime=10), 93 | __Dymola_experimentSetupOutput, 94 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-50},{100,60}}))); 95 | end test_E_Filter_ideal; 96 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/E_Filter/test_E_Filter_empirical.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter; 2 | model test_E_Filter_empirical 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.PackageIcons.ExecutableExampleb50; 18 | ClaRa.Components.BoundaryConditions.BoundaryGas_Txim_flow idealGasFlowSource_XRG( 19 | m_flow_const=10, 20 | variable_m_flow=true, 21 | variable_T=true, 22 | xi_const={1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9}) 23 | annotation (Placement(transformation(extent={{-40,-28},{-20,-8}}))); 24 | ClaRa.Components.BoundaryConditions.BoundaryGas_pTxi idealGasPressureSink( p_const=100000, xi_const={1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9}) 25 | annotation (Placement(transformation( 26 | extent={{-10,-10},{10,10}}, 27 | rotation=180, 28 | origin={70,-18}))); 29 | inner ClaRa.SimCenter simCenter(redeclare TILMedia.GasTypes.FlueGasTILMedia flueGasModel) annotation (Placement(transformation(extent={{80,40},{100,60}}))); 30 | Modelica.Blocks.Sources.Ramp massFlowRate( 31 | offset=1, 32 | startTime=5, 33 | duration=10, 34 | height=-2) annotation (Placement(transformation( 35 | extent={{-10,-10},{10,10}}, 36 | rotation=0, 37 | origin={-70,2}))); 38 | Modelica.Blocks.Sources.Ramp Temperature( 39 | duration=1, 40 | startTime=1, 41 | height=50, 42 | offset=273.15 + 150) 43 | annotation (Placement(transformation( 44 | extent={{-10,-10},{10,10}}, 45 | rotation=0, 46 | origin={-70,-30}))); 47 | ClaRa_Obsolete.Components.FlueGasCleaning.E_Filter.E_Filter_L2_empirical_old e_Filter_dynamic( 48 | redeclare model Geometry = ClaRa.Basics.ControlVolumes.Fundamentals.Geometry.GenericGeometry, 49 | use_dynamicMassbalance=true, 50 | A_el=200) annotation (Placement(transformation(extent={{-4,-28},{16,-8}}))); 51 | 52 | Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedTemperatureTop1(T=293.15) 53 | annotation (Placement(transformation( 54 | extent={{10,-10},{-10,10}}, 55 | rotation=180, 56 | origin={-70,30}))); 57 | equation 58 | connect(massFlowRate.y, idealGasFlowSource_XRG.m_flow) annotation (Line( 59 | points={{-59,2},{-50,2},{-50,-12},{-40,-12}}, 60 | color={0,0,127}, 61 | smooth=Smooth.None)); 62 | connect(Temperature.y, idealGasFlowSource_XRG.T) 63 | annotation (Line( 64 | points={{-59,-30},{-50,-30},{-50,-18},{-40,-18}}, 65 | color={0,0,127}, 66 | smooth=Smooth.None)); 67 | connect(idealGasFlowSource_XRG.gas_a, e_Filter_dynamic.inlet) annotation ( 68 | Line( 69 | points={{-20,-18},{-4,-18}}, 70 | color={118,106,98}, 71 | thickness=0.5, 72 | smooth=Smooth.None)); 73 | connect(e_Filter_dynamic.outlet, idealGasPressureSink.gas_a) annotation (Line( 74 | points={{16,-18},{60,-18}}, 75 | color={118,106,98}, 76 | thickness=0.5, 77 | smooth=Smooth.None)); 78 | connect(fixedTemperatureTop1.port, e_Filter_dynamic.heat) annotation (Line( 79 | points={{-60,30},{6,30},{6,-8}}, 80 | color={191,0,0}, 81 | smooth=Smooth.None)); 82 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-100, 83 | -50},{100,60}}), 84 | graphics={Text( 85 | extent={{-98,54},{-24,44}}, 86 | lineColor={0,128,0}, 87 | horizontalAlignment=TextAlignment.Left, 88 | fontSize=12, 89 | textString="________________________________________________________________ 90 | PURPOSE: 91 | >>Tester for the E_Filter_empirical component"), 92 | Text( 93 | extent={{-100,60},{-20,50}}, 94 | lineColor={0,128,0}, 95 | fontSize=34, 96 | textString="TESTED -- 2014-10-08 //LN")}), 97 | experiment(StopTime=30), 98 | __Dymola_experimentSetupOutput, 99 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-50},{100,60}}))); 100 | end test_E_Filter_empirical; 101 | -------------------------------------------------------------------------------- /Components/Utilities/Check/test_1_LimPID_110_vs_111.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.Utilities.Check; 2 | model test_1_LimPID_110_vs_111 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.1.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.PackageIcons.ExecutableExampleb50; 18 | ClaRa.Components.Utilities.Blocks.LimPID PID_111( 19 | k=10, 20 | y_start=4, 21 | xi_start=3, 22 | xd_start=2, 23 | y_max=100, 24 | Tau_i=0.1, 25 | Tau_d=1, 26 | controllerType=Modelica.Blocks.Types.SimpleController.PID, 27 | initOption=796) annotation (Placement(transformation(extent={{-40,60},{-20,80}}))); 28 | Modelica.Blocks.Sources.RealExpression realExpression(y=1) 29 | annotation (Placement(transformation(extent={{-82,60},{-62,80}}))); 30 | Modelica.Blocks.Sources.Sine sine( 31 | amplitude=0.2, 32 | f=0.1, 33 | offset=0) annotation (Placement(transformation( 34 | extent={{-10,-10},{10,10}}, 35 | rotation=180, 36 | origin={70,18}))); 37 | Modelica.Blocks.Continuous.FirstOrder firstOrder( 38 | initType=Modelica.Blocks.Types.Init.InitialOutput, 39 | T=1, 40 | y_start=0.3) 41 | annotation (Placement(transformation( 42 | extent={{-10,-10},{10,10}}, 43 | rotation=180, 44 | origin={-8,24}))); 45 | Modelica.Blocks.Math.Add add annotation (Placement(transformation( 46 | extent={{-10,-10},{10,10}}, 47 | rotation=180, 48 | origin={20,24}))); 49 | Modelica.Blocks.Sources.BooleanExpression booleanExpression(y=time > 10) 50 | annotation (Placement(transformation(extent={{-82,72},{-62,52}}))); 51 | LimPID_110 PID_110( 52 | k=10, 53 | y_start=4, 54 | xi_start=3, 55 | xd_start=2, 56 | initType=Modelica.Blocks.Types.Init.InitialOutput, 57 | y_max=100, 58 | Tau_i=0.1, 59 | Tau_d=1, 60 | controllerType=Modelica.Blocks.Types.SimpleController.PID) annotation (Placement(transformation(extent={{-40,-40},{-20,-20}}))); 61 | Modelica.Blocks.Continuous.FirstOrder firstOrder1( 62 | initType=Modelica.Blocks.Types.Init.InitialOutput, 63 | T=1, 64 | y_start=0.3) 65 | annotation (Placement(transformation( 66 | extent={{-10,-10},{10,10}}, 67 | rotation=180, 68 | origin={-8,-76}))); 69 | Modelica.Blocks.Math.Add add1 70 | annotation (Placement(transformation( 71 | extent={{-10,-10},{10,10}}, 72 | rotation=180, 73 | origin={20,-76}))); 74 | equation 75 | connect(realExpression.y, PID_111.u_s) annotation (Line( 76 | points={{-61,70},{-42,70}}, 77 | color={0,0,127}, 78 | smooth=Smooth.None)); 79 | connect(add.y, firstOrder.u) annotation (Line( 80 | points={{9,24},{4,24}}, 81 | color={0,0,127}, 82 | smooth=Smooth.None)); 83 | connect(sine.y, add.u1) annotation (Line( 84 | points={{59,18},{32,18}}, 85 | color={0,0,127}, 86 | smooth=Smooth.None)); 87 | connect(PID_111.y, add.u2) annotation (Line( 88 | points={{-19,70},{50,70},{50,30},{32,30}}, 89 | color={0,0,127}, 90 | smooth=Smooth.None)); 91 | connect(firstOrder.y, PID_111.u_m) annotation (Line( 92 | points={{-19,24},{-29.9,24},{-29.9,58}}, 93 | color={0,0,127}, 94 | smooth=Smooth.None)); 95 | connect(realExpression.y, PID_110.u_s) annotation (Line( 96 | points={{-61,70},{-56,70},{-56,-30},{-42,-30}}, 97 | color={0,0,127}, 98 | smooth=Smooth.None)); 99 | connect(add1.y, firstOrder1.u) annotation (Line( 100 | points={{9,-76},{4,-76}}, 101 | color={0,0,127}, 102 | smooth=Smooth.None)); 103 | connect(sine.y, add1.u1) annotation (Line( 104 | points={{59,18},{56,18},{56,-82},{32,-82}}, 105 | color={0,0,127}, 106 | smooth=Smooth.None)); 107 | connect(PID_110.y, add1.u2) annotation (Line( 108 | points={{-19,-30},{50,-30},{50,-70},{32,-70}}, 109 | color={0,0,127}, 110 | smooth=Smooth.None)); 111 | connect(firstOrder1.y, PID_110.u_m) annotation (Line( 112 | points={{-19,-76},{-30,-76},{-30,-42}}, 113 | color={0,0,127}, 114 | smooth=Smooth.None)); 115 | annotation ( 116 | Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-100,-100},{ 117 | 100,100}})), 118 | experiment(StopTime=50), 119 | __Dymola_experimentSetupOutput(equdistant=false)); 120 | end test_1_LimPID_110_vs_111; 121 | -------------------------------------------------------------------------------- /StaticCycles/Dispatcher.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.StaticCycles; 2 | model Dispatcher "Ideal fuel dispatcher" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.1.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | // Yellow input: Values of p, h are unknown and provided BY neighbor component, values of m_flow is known in component and provided FOR neighbor component. 18 | // Blue output: Value of p is unknown and provided BY neighbor component, values of m_flow and h are known in component and provided FOR neighbor component. 19 | 20 | import ClaRa.Basics.Constants.*; 21 | outer ClaRa.SimCenter simCenter; 22 | outer parameter Real P_target_ "Target power in p.u." annotation(Dialog(group="Part Load Definition")); 23 | 24 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Coal elemental composition used for combustion" annotation(Dialog(group="Fundamental Definitions")); 25 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific LHV "Nominal lower heating value" annotation(Dialog(group="Fundamental Definitions")); 26 | parameter ClaRa.Basics.Units.MassFraction xi_fuel[fuelType.nc-1] = fuelType.defaultComposition "Fuel composition" annotation(Dialog(group="Fundamental Definitions")); 27 | parameter Integer N_burner_levels "Number of burner levels" annotation(Dialog(group="Fundamental Definitions")); 28 | 29 | parameter TILMedia.GasTypes.BaseGas flueGas = simCenter.flueGasModel "Flue gas model used in component" annotation(Dialog(group="Combustion Air")); 30 | parameter ClaRa.Basics.Units.MassFraction xi_pa_in[flueGas.nc-1] = {0,0,0,0,0.77,0.23,0,0,0} "Primary air inlet composition" annotation(Dialog(group="Combustion Air")); 31 | parameter Real lambda = 1.15 "Excess air" annotation(Dialog(group="Combustion Air")); 32 | 33 | parameter ClaRa.Basics.Units.Power P_el_nom "Nominal electric power" annotation(Dialog(group="Nominal Operation Point")); 34 | parameter Real eta_el_nom "Nominal plant efficiency" annotation(Dialog(group="Nominal Operation Point")); 35 | 36 | parameter Real CharLine_P_el_[:,2]=[0,1;1,1] "Characteristic line of P_el as function of P_target_" annotation(Dialog(group="Part Load Definition")); 37 | parameter Real CharLine_eta_el_[:,2]=[0,1;1,1] "Characteristic line of eta_el as function of P_target_" annotation(Dialog(group="Part Load Definition")); 38 | 39 | final parameter ClaRa.Basics.Units.Power P_el(fixed=false) "Electric power"; 40 | final parameter Real eta_el(fixed=false) "Plant efficiency"; 41 | 42 | final parameter ClaRa.Basics.Units.MassFlowRate m_flow_fuel = P_el/(eta_el*LHV)/N_burner_levels "Fuel mass flow (per burner level)"; 43 | final parameter ClaRa.Basics.Units.MassFlowRate m_flow_pa = Pi_m_flows*m_flow_fuel "Rprt: Primary air mass flow (per burner level)"; 44 | final parameter ClaRa.Basics.Units.MassFlowRate m_flow_fg_total = (m_flow_fuel + m_flow_pa)*N_burner_levels "Total flue gass implied by all mills"; 45 | 46 | final parameter Real Pi_m_flows = lambda*(n_flow_C_primary + n_flow_H_primary/4.0 + n_flow_S_primary - n_flow_O_primary/2)*ClaRa.Basics.Constants.M_O *2.0/max(1e-32,xi_pa_in[6])/m_flow_fuel; 47 | 48 | FuelSignal_black_b fuelSignal_black[N_burner_levels]( 49 | each fuelType=fuelType, 50 | each m_flow=m_flow_fuel, 51 | each xi=xi_fuel, 52 | each LHV=LHV) annotation (Placement(transformation(extent={{100,-10},{108,10}}), iconTransformation(extent={{100,-10},{108,10}}))); 53 | 54 | protected 55 | final parameter Real n_flow_C_primary= xi_fuel[1].*m_flow_fuel/M_C; 56 | final parameter Real n_flow_H_primary= xi_fuel[2].*m_flow_fuel/M_H; 57 | final parameter Real n_flow_O_primary= xi_fuel[3].*m_flow_fuel/M_O; 58 | final parameter Real n_flow_S_primary= xi_fuel[5].*m_flow_fuel/M_S; 59 | Modelica.Blocks.Tables.CombiTable1Dv table1(table=CharLine_P_el_, u={P_target_}); 60 | Modelica.Blocks.Tables.CombiTable1Dv table2(table=CharLine_eta_el_, u={P_target_}); 61 | 62 | initial equation 63 | P_el= P_el_nom*table1.y[1]; 64 | eta_el= eta_el_nom*table2.y[1]; 65 | 66 | annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{100,100}}), 67 | graphics={ 68 | Ellipse( 69 | extent={{-100,100},{100,-100}}, 70 | lineColor={0,131,169}, 71 | fillColor={255,255,255}, 72 | fillPattern=FillPattern.Solid), Line(points={{-80,60},{80,60},{-80,-60},{80,-60}}, color={0,131,169}), 73 | Text( 74 | extent={{-80,-60},{80,-100}}, 75 | lineColor={238,46,47}, 76 | textString="Supported until ClaRa 1.4.0"), 77 | Polygon( 78 | points={{-100,-100},{100,100},{-100,-100}}, 79 | lineColor={255,0,0}, 80 | smooth=Smooth.None, 81 | fillColor={102,198,0}, 82 | fillPattern=FillPattern.Solid),Polygon( 83 | points={{-100,100},{100,-100},{-100,100}}, 84 | lineColor={255,0,0}, 85 | smooth=Smooth.None, 86 | fillColor={102,198,0}, 87 | fillPattern=FillPattern.Solid)}), 88 | Diagram(coordinateSystem(preserveAspectRatio=true, 89 | extent={{-100,-100},{100,100}}), graphics)); 90 | end Dispatcher; 91 | -------------------------------------------------------------------------------- /Components/FlueGasCleaning/Denitrification/Test_Denitrification_NH3port.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.FlueGasCleaning.Denitrification; 2 | model Test_Denitrification_NH3port 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.0 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright © 2013-2016, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | extends ClaRa.Basics.Icons.PackageIcons.ExecutableExampleb50; 18 | inner ClaRa.SimCenter simCenter(redeclare TILMedia.GasTypes.FlueGasTILMedia flueGasModel) annotation (Placement(transformation(extent={{80,80},{100,100}}))); 19 | ClaRa.Components.BoundaryConditions.BoundaryGas_Txim_flow idealGasFlowSource_XRG1( 20 | m_flow_const=10, 21 | variable_m_flow=true, 22 | variable_T=true, 23 | medium=simCenter.flueGasModel, 24 | xi_const={0.01,0.01,0.73,0.01,0.065,0.036,0.01,0.13,0.0}) 25 | annotation (Placement(transformation(extent={{-32,-46},{-12,-26}}))); 26 | ClaRa.Components.BoundaryConditions.BoundaryGas_pTxi idealGasPressureSink(medium=simCenter.flueGasModel, p_const=100000) annotation (Placement(transformation( 27 | extent={{-10,-10},{10,10}}, 28 | rotation=180, 29 | origin={52,-36}))); 30 | Modelica.Blocks.Sources.Ramp massFlowRate1( 31 | offset=1e-3, 32 | height=9e-3, 33 | startTime=5, 34 | duration=5) annotation (Placement(transformation( 35 | extent={{-10,-10},{10,10}}, 36 | rotation=0, 37 | origin={-70,-18}))); 38 | Modelica.Blocks.Sources.Ramp Temperature1( 39 | duration=1, 40 | height=20, 41 | startTime=1, 42 | offset=273.15 + 250) 43 | annotation (Placement(transformation( 44 | extent={{-10,-10},{10,10}}, 45 | rotation=0, 46 | origin={-70,-50}))); 47 | ClaRa_Obsolete.Components.FlueGasCleaning.Denitrification.Denitrification_L1_NH3port deNOx(redeclare model HeatTransfer = ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.Generic_HT.Adiabat_L2) annotation (Placement(transformation(extent={{4,-46},{24,-26}}))); 48 | ClaRa.Components.BoundaryConditions.BoundaryGas_Txim_flow idealGasFlowSource_XRG2( 49 | variable_T=false, 50 | m_flow_const=0.0010, 51 | variable_m_flow=true, 52 | medium=simCenter.flueGasModel, 53 | T_const=523.15, 54 | xi_const={0/9,0/9,0/9,0/9,0/9,0/9,0/9,0/9,9/9}) annotation (Placement(transformation(extent={{-32,-14},{-12,6}}))); 55 | Modelica.Blocks.Sources.Ramp massFlowRate2( 56 | offset=0.5e-4, 57 | height=5e-3, 58 | startTime=5, 59 | duration=30) annotation (Placement(transformation( 60 | extent={{-10,-10},{10,10}}, 61 | rotation=0, 62 | origin={-70,14}))); 63 | Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedTemperatureTop1(T=293.15) 64 | annotation (Placement(transformation( 65 | extent={{10,-10},{-10,10}}, 66 | rotation=180, 67 | origin={-70,44}))); 68 | equation 69 | connect(massFlowRate1.y, idealGasFlowSource_XRG1.m_flow) annotation (Line( 70 | points={{-59,-18},{-50,-18},{-50,-30},{-32,-30}}, 71 | color={0,0,127}, 72 | smooth=Smooth.None)); 73 | connect(Temperature1.y, idealGasFlowSource_XRG1.T) 74 | annotation (Line( 75 | points={{-59,-50},{-50,-50},{-50,-36},{-32,-36}}, 76 | color={0,0,127}, 77 | smooth=Smooth.None)); 78 | connect(massFlowRate2.y, idealGasFlowSource_XRG2.m_flow) annotation (Line( 79 | points={{-59,14},{-46,14},{-46,2},{-32,2}}, 80 | color={0,0,127}, 81 | smooth=Smooth.None)); 82 | connect(idealGasFlowSource_XRG2.gas_a, deNOx.NH3_inlet) annotation (Line( 83 | points={{-12,-4},{14,-4},{14,-26}}, 84 | color={118,106,98}, 85 | thickness=0.5, 86 | smooth=Smooth.None)); 87 | connect(idealGasFlowSource_XRG1.gas_a, deNOx.inlet) annotation (Line( 88 | points={{-12,-36},{4,-36}}, 89 | color={118,106,98}, 90 | thickness=0.5, 91 | smooth=Smooth.None)); 92 | connect(deNOx.outlet, idealGasPressureSink.gas_a) annotation (Line( 93 | points={{24,-36},{42,-36}}, 94 | color={118,106,98}, 95 | thickness=0.5, 96 | smooth=Smooth.None)); 97 | connect(fixedTemperatureTop1.port, deNOx.heat) annotation (Line( 98 | points={{-60,44},{8.8,44},{8.8,-26.4}}, 99 | color={191,0,0}, 100 | smooth=Smooth.None)); 101 | annotation (Diagram(coordinateSystem(preserveAspectRatio=false,extent={{-100, 102 | -100},{100,100}}), 103 | graphics={Text( 104 | extent={{-98,92},{-24,82}}, 105 | lineColor={0,128,0}, 106 | horizontalAlignment=TextAlignment.Left, 107 | fontSize=12, 108 | textString="________________________________________________________________ 109 | PURPOSE: 110 | >>Tester for the Denitrificationl component"), 111 | Text( 112 | extent={{-100,98},{26,88}}, 113 | lineColor={0,128,0}, 114 | fontSize=34, 115 | textString="TESTED -- 2014-10-08 //LN")}), 116 | experiment(StopTime=20), 117 | __Dymola_experimentSetupOutput, 118 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{ 119 | 100,100}}))); 120 | end Test_Denitrification_NH3port; 121 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/SolidVolumes/ThinWall_L2.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.SolidVolumes; 2 | model ThinWall_L2 "A thin wall involving one volume element in heat flow direction" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.Icons.WallThin; 19 | replaceable model Material = TILMedia.SolidTypes.TILMedia_Aluminum constrainedby TILMedia.SolidTypes.BaseSolid "Material of the cylinder" 20 | annotation(choicesAllMatching, Dialog(group="Fundamental Definitions")); 21 | input Real CF_lambda=1 "Time-dependent correction factor for thermal conductivity" annotation(Dialog(group="Fundamental Definitions")); 22 | 23 | parameter ClaRa.Basics.Units.Area A_heat "Surface area" 24 | annotation(Dialog(group="Geometry")); 25 | 26 | parameter ClaRa.Basics.Units.Length thickness_wall "Wall thickness" 27 | annotation(Dialog(group="Geometry")); 28 | 29 | public 30 | parameter ClaRa.Basics.Units.Mass mass "Fixed mass" annotation(Dialog(group="Geometry")); 31 | parameter ClaRa.Basics.Units.Temperature T_start=293.15 "Start values of wall temperature" annotation(Dialog(group="Initialisation")); 32 | 33 | inner parameter Integer initOption=0 "Type of initialisation" annotation (Dialog(group="Initialisation"), choices( 34 | choice=0 "Use guess values", 35 | choice=1 "Steady state", 36 | choice=203 "Steady temperature")); 37 | 38 | parameter Integer stateLocation = 2 "Location of states" annotation(Dialog(group="Numerical Efficiency"), choices(choice=1 "Inner location of states", 39 | choice=2 "Central location of states", choice=3 "Outer location of states")); 40 | 41 | ClaRa.Basics.Units.Temperature T(start=T_start,nominal=500); 42 | ClaRa.Basics.Units.InternalEnergy U(nominal = 4e6); 43 | 44 | ClaRa.Basics.Interfaces.HeatPort_a 45 | outerPhase "outer side of the cylinder" 46 | annotation (Placement(transformation(extent={{-10,40}, 47 | {10,60}}), iconTransformation(extent={{-10,40},{10,60}}))); 48 | TILMedia.Solid solid(redeclare each replaceable model SolidType = Material, T=T) 49 | annotation (Placement(transformation(extent={{48,8},{68,28}}))); 50 | ClaRa.Basics.Interfaces.HeatPort_b innerPhase "Inner side of the cylinder" 51 | annotation (Placement(transformation(extent={{-10,-60},{10,-40}}), 52 | iconTransformation(extent={{-10,-60},{10,-40}}))); 53 | 54 | model Summary 55 | extends ClaRa.Basics.Icons.RecordIcon; 56 | input ClaRa.Basics.Units.Area A_heat "Mean area of heat transfer (single tube)"; 57 | input ClaRa.Basics.Units.Length thickness_wall "Wall thickness"; 58 | input ClaRa.Basics.Units.Mass mass "Wall mass"; 59 | input ClaRa.Basics.Units.InternalEnergy U "Inner energy of wall"; 60 | input ClaRa.Basics.Units.Temperature T_i "Inner phase temperature"; 61 | input ClaRa.Basics.Units.Temperature T_o "Outer phase temperature"; 62 | input ClaRa.Basics.Units.Temperature T "Wall temperature"; 63 | input Real lambda "Heat conductivity"; 64 | input ClaRa.Basics.Units.HeatFlowRate Q_flow_i "Heat flow rate to inner phase"; 65 | input ClaRa.Basics.Units.HeatFlowRate Q_flow_o "Heat flow rate to outer phase"; 66 | input ClaRa.Basics.Units.HeatCapacityMassSpecific cp "Specific heat capacity"; 67 | input ClaRa.Basics.Units.DensityMassSpecific d "Material density"; 68 | end Summary; 69 | 70 | Summary summary(A_heat=A_heat, thickness_wall=thickness_wall, mass=mass, U=U, T_i=innerPhase.T, T_o=outerPhase.T,T=T, lambda=solid.lambda, Q_flow_i=innerPhase.Q_flow, Q_flow_o=outerPhase.Q_flow, cp=solid.cp, d=solid.d); 71 | 72 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 73 | equation 74 | U=T*mass*solid.cp; 75 | der(U) = (innerPhase.Q_flow+outerPhase.Q_flow); 76 | 77 | //The following equation is true only for steady state or when changes in boundary conditions are slow compared to the state derivatives 78 | if stateLocation == 1 then //states are located at inner phase 79 | outerPhase.T = outerPhase.Q_flow/(solid.lambda*CF_lambda * A_heat) * thickness_wall + T; 80 | innerPhase.T = T; 81 | elseif stateLocation == 2 then //states are located in center phase 82 | innerPhase.Q_flow = solid.lambda*CF_lambda/(thickness_wall * 0.5) * A_heat * (innerPhase.T-T); 83 | outerPhase.Q_flow = solid.lambda*CF_lambda/(thickness_wall * 0.5) * A_heat * (outerPhase.T-T); 84 | else // states are located at outer phase 85 | outerPhase.T = T; 86 | innerPhase.T = innerPhase.Q_flow/(solid.lambda*CF_lambda * A_heat) * thickness_wall + T; 87 | end if; 88 | 89 | initial equation 90 | if initOption == 1 then //steady state 91 | der(U)=0; 92 | elseif initOption == 203 then //steady temperature 93 | der(T)=0; 94 | elseif initOption == 0 then //no init 95 | T=T_start; // do nothing 96 | else 97 | assert(initOption == 0,"Invalid init option"); 98 | end if; 99 | 100 | annotation (Documentation(info=" 101 | "), Diagram(coordinateSystem(preserveAspectRatio=true, extent={{-100, 102 | -50},{100,50}}), 103 | graphics), 104 | Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-50},{100,50}}), 105 | graphics)); 106 | end ThinWall_L2; 107 | -------------------------------------------------------------------------------- /Basics/ControlVolumes/Fundamentals/HeatTransport/VLE_HT/CharLine_AR_L4.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Basics.ControlVolumes.Fundamentals.HeatTransport.VLE_HT; 2 | model CharLine_AR_L4 "Obsolete HT Model || Heat transfer coefficient defined by a characteristic line and a nominal value" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.0.0 // 5 | // // 6 | // Licensed by the DYNCAP research team under Modelica License 2. // 7 | // Copyright © 2013-2015, DYNCAP research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP is a research project supported by the German Federal Ministry of // 10 | // Economics and Technology (FKZ 03ET2009). // 11 | // The DYNCAP research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | import Modelica.Constants.eps; 19 | outer TILMedia.VLEFluid_ph fluidInlet; 20 | outer TILMedia.VLEFluid_ph fluidOutlet; 21 | outer TILMedia.VLEFluid_ph fluid[iCom.N_cv]; 22 | extends ClaRa.Basics.ControlVolumes.Fundamentals.HeatTransport.VLE_HT.HeatTransfer_L4; 23 | extends Icons.Obsolete_v1_1; 24 | parameter Modelica.Units.SI.CoefficientOfHeatTransfer alpha_nom=10 "Constant heat transfer coefficient" annotation (Dialog(group="Heat Transfer")); 25 | parameter Real PL_kc[:, 2]={{0,0.2},{0.5,0.6},{0.7,0.72},{1,1}} "Correction factor for heat transfer in part load" annotation (Dialog(group="Heat Transfer")); 26 | 27 | Modelica.Units.SI.CoefficientOfHeatTransfer alpha[iCom.N_cv] annotation (HideResult=false); 28 | 29 | ClaRa.Basics.Units.TemperatureDifference Delta_T_wi[iCom.N_cv] "Temperature difference between wall and fluid inlet temperature"; 30 | ClaRa.Basics.Units.TemperatureDifference Delta_T_wo[iCom.N_cv] "Temperature difference between wall and fluid outlet temperature"; 31 | ClaRa.Basics.Units.TemperatureDifference Delta_T_mean[iCom.N_cv]; 32 | 33 | ClaRa.Basics.Units.TemperatureDifference Delta_T_u[iCom.N_cv]; 34 | ClaRa.Basics.Units.TemperatureDifference Delta_T_l[iCom.N_cv]; 35 | 36 | protected 37 | Real alpha_corr_u[iCom.N_cv]; 38 | Integer tableID; 39 | parameter Modelica.Blocks.Types.Smoothness smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments "smoothness of table interpolation" annotation (Dialog(group="table data interpretation")); 40 | 41 | function tableInit "Initialize 1-dim. table defined by matrix (for details see: Modelica/Resources/C-Sources/ModelicaTables.h)" 42 | input String tableName; 43 | input String fileName; 44 | input Real table[:, :]; 45 | input Modelica.Blocks.Types.Smoothness smoothness; 46 | output Integer tableID; 47 | external"C" tableID = ModelicaTables_CombiTable1D_init( 48 | tableName, 49 | fileName, 50 | table, 51 | size(table, 1), 52 | size(table, 2), 53 | smoothness); 54 | annotation (Library="ModelicaExternalC"); 55 | end tableInit; 56 | 57 | function tableIpo "Interpolate 1-dim. table defined by matrix (for details see: Modelica/Resources/C-Sources/ModelicaTables.h)" 58 | input Integer tableID; 59 | input Integer icol; 60 | input Real u; 61 | output Real value; 62 | external"C" value = ModelicaTables_CombiTable1D_interpolate( 63 | tableID, 64 | icol, 65 | u); 66 | annotation (Library="ModelicaExternalC"); 67 | end tableIpo; 68 | 69 | equation 70 | if m_flow[1] > 0 then 71 | for i in 2:iCom.N_cv loop 72 | Delta_T_wi[i] = heat[i].T - fluid[i - 1].T; 73 | Delta_T_wo[i] = heat[i].T - fluid[i].T; 74 | 75 | Delta_T_mean[i] = noEvent(if abs(Delta_T_wo[i]) <= 1e-6 or abs(Delta_T_wi[i]) <= 1e-6 then 0 elseif (heat[i].T < fluid[i].T and heat[i].T > fluid[i - 1].T) or (heat[i].T > fluid[i].T and heat[i].T < fluid[i - 1].T) then 0 elseif abs(Delta_T_wo[i] - Delta_T_wi[i]) <= eps then Delta_T_wi[i] else (Delta_T_u[i] - Delta_T_l[i])/log(Delta_T_u[i]/Delta_T_l[i])); 76 | 77 | end for; 78 | 79 | Delta_T_wi[1] = heat[1].T - fluidInlet.T; 80 | Delta_T_wo[1] = heat[1].T - fluid[1].T; 81 | 82 | Delta_T_mean[1] = noEvent(if abs(Delta_T_wo[1]) <= 1e-6 or abs(Delta_T_wi[1]) <= 1e-6 then 0 elseif (heat[1].T < fluid[1].T and heat[1].T > fluidInlet.T) or (heat[1].T > fluid[1].T and heat[1].T < fluidInlet.T) then 0 elseif abs(Delta_T_wo[1] - Delta_T_wi[1]) <= eps then Delta_T_wi[1] else (Delta_T_u[1] - Delta_T_l[1])/log(Delta_T_u[1]/Delta_T_l[1])); 83 | 84 | else 85 | 86 | for i in 1:iCom.N_cv - 1 loop 87 | Delta_T_wi[i] = heat[i].T - fluid[i + 1].T; 88 | Delta_T_wo[i] = heat[i].T - fluid[i].T; 89 | 90 | Delta_T_mean[i] = noEvent(if abs(Delta_T_wo[i]) <= 1e-6 or abs(Delta_T_wi[i]) <= 1e-6 then 0 elseif (heat[i].T < fluid[i].T and heat[i].T > fluid[i + 1].T) or (heat[i].T > fluid[i].T and heat[i].T < fluid[i + 1].T) then 0 elseif abs(Delta_T_wo[i] - Delta_T_wi[i]) <= eps then Delta_T_wi[i] else (Delta_T_u[i] - Delta_T_l[i])/log(Delta_T_u[i]/Delta_T_l[i])); 91 | 92 | end for; 93 | 94 | Delta_T_wi[iCom.N_cv] = heat[iCom.N_cv].T - fluidOutlet.T; 95 | Delta_T_wo[iCom.N_cv] = heat[iCom.N_cv].T - fluid[iCom.N_cv].T; 96 | 97 | Delta_T_mean[iCom.N_cv] = noEvent(if abs(Delta_T_wo[iCom.N_cv]) <= 1e-6 or abs(Delta_T_wi[iCom.N_cv]) <= 1e-6 then 0 elseif (heat[iCom.N_cv].T < fluid[iCom.N_cv].T and heat[iCom.N_cv].T > fluidOutlet.T) or (heat[iCom.N_cv].T > fluid[iCom.N_cv].T and heat[iCom.N_cv].T < fluidOutlet.T) then 0 elseif abs(Delta_T_wo[iCom.N_cv] - Delta_T_wi[iCom.N_cv]) <= eps then Delta_T_wi[iCom.N_cv] else (Delta_T_u[iCom.N_cv] - Delta_T_l[iCom.N_cv])/log(Delta_T_u[iCom.N_cv]/Delta_T_l[iCom.N_cv])); 98 | 99 | end if; 100 | 101 | for i in 1:iCom.N_cv loop 102 | Delta_T_u[i] = max(Delta_T_wi[i], Delta_T_wo[i]); 103 | Delta_T_l[i] = min(Delta_T_wi[i], Delta_T_wo[i]); 104 | 105 | end for; 106 | 107 | T_mean = fluid.T; 108 | heat.Q_flow = alpha .* A_heat .* Delta_T_mean; 109 | 110 | //heat.Q_flow = alpha.*A_heat.*(heat.T-T_mean); 111 | 112 | for i in 1:iCom.N_cv loop 113 | alpha_corr_u[i] = noEvent(max(1e-3, abs(m_flow[i]))/iCom.m_flow_nom); 114 | alpha[i] = tableIpo( 115 | tableID, 116 | 2, 117 | alpha_corr_u[i])*alpha_nom; 118 | end for; 119 | 120 | when initial() then 121 | tableID = tableInit( 122 | "NoName", 123 | "NoName", 124 | PL_kc, 125 | smoothness); 126 | end when; 127 | 128 | annotation (Diagram(graphics)); 129 | end CharLine_AR_L4; 130 | -------------------------------------------------------------------------------- /Components/BoundaryConditions/BoundaryFuel_pTxi.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.BoundaryConditions; 2 | model BoundaryFuel_pTxi "A source defining pressure, temperature and composition" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.Icons.FlowSink; 19 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 20 | ClaRa.Basics.Interfaces.Connected2SimCenter connected2SimCenter( 21 | powerIn=if massFlowIsLoss then 0 else min(0, fuel_a.m_flow*h_coal), 22 | powerOut=if massFlowIsLoss then 0 else max(0, fuel_a.m_flow*h_coal), 23 | powerAux=0) if contributeToCycleSummary; 24 | parameter Boolean contributeToCycleSummary = simCenter.contributeToCycleSummary "True if component shall contribute to automatic efficiency calculation" 25 | annotation(Dialog(tab="Summary and Visualisation")); 26 | parameter Boolean massFlowIsLoss = true "True if mass flow is a loss (not a process product)" annotation(Dialog(tab="Summary and Visualisation")); 27 | 28 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Coal elemental composition used for combustion" 29 | annotation(choices(choice=simCenter.coalModel "Coal model 1 as defined in simCenter"), 30 | Dialog(group="Fundamental Definitions")); 31 | 32 | parameter Boolean variable_p=false "True, if mass flow defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 33 | parameter Boolean variable_T=false "True, if temperature defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 34 | parameter Boolean variable_xi=false "True, if composition defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 35 | 36 | parameter ClaRa.Basics.Units.Pressure p_const=1e5 "Constant mass flow rate" annotation (Dialog(group="Constant Boundaries", enable=not mInputIsActive)); 37 | parameter ClaRa.Basics.Units.Temperature T_const=simCenter.T_amb_start "Constant specific temperature of source" annotation (Dialog(group="Constant Boundaries", enable=not hInputIsActive)); 38 | parameter ClaRa.Basics.Units.MassFraction xi_const[fuelType.nc - 1]=fuelType.defaultComposition "Constant composition" annotation (Dialog(group="Constant Boundaries", enable=not variable_xi)); 39 | 40 | parameter String LHV_calculationType="predefined" "Calculation type" annotation ( 41 | Dialog(group="Combustion settings"), choices( 42 | choice="predefined" "Use predefined value for the LHV", 43 | choice="Verbandsformel" "Calculate the LHV from the Verbandsformel")); 44 | 45 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific LHV_predefined=30e6 "LHV value for the coal, only used at back flows" 46 | annotation (Dialog(enable=(LHV_calculationType == 47 | "predefined"), group="Combustion settings")); 48 | parameter Modelica.Units.SI.SpecificHeatCapacity cp=fuelType.cp "Specific heat capacity of fuel" annotation (Dialog(group="Combustion settings")); 49 | outer ClaRa.SimCenter simCenter; 50 | protected 51 | Modelica.Units.SI.Pressure p_in; 52 | Modelica.Units.SI.Temperature T_in; 53 | Modelica.Units.SI.MassFraction xi_in[fuelType.nc - 1]; 54 | ClaRa.Basics.Units.EnthalpyMassSpecific h_coal; 55 | //SI.EnthalpyMassSpecific LHV; 56 | 57 | public 58 | Basics.Interfaces.Fuel_inlet fuel_a(final fuelType=fuelType) annotation (Placement(transformation(extent={{90,-10},{110,10}}), iconTransformation(extent={{90,-10},{110,10}}))); 59 | 60 | Modelica.Blocks.Interfaces.RealInput p=p_in if (variable_p) "Variable mass flow rate" 61 | annotation (Placement(transformation(extent={{-120,40},{-80,80}}))); 62 | Modelica.Blocks.Interfaces.RealInput T=T_in if (variable_T) "Variable specific temperature" 63 | annotation (Placement(transformation(extent={{-120,-20},{-80,20}}))); 64 | Modelica.Blocks.Interfaces.RealInput xi[fuelType.nc-1]=xi_in if 65 | (variable_xi) "Variable composition" 66 | annotation (Placement(transformation(extent={{-120,-80},{-80,-40}}))); 67 | equation 68 | 69 | if fuel_a.LHV_calculationType == "predefined" then 70 | fuel_a.LHV_outflow = LHV_predefined; 71 | // fuel_a.LHV_calculationType=LHV_calculationType; 72 | elseif fuel_a.LHV_calculationType == "Verbandsformel" then 73 | fuel_a.LHV_outflow =(33907*fuel_a.xi_outflow[1] + 142324*(fuel_a.xi_outflow[2] - fuel_a.xi_outflow[3]/8.) + 10465*fuel_a.xi_outflow[5] - 2512*((1 - sum(fuel_a.xi_outflow)) + 9*fuel_a.xi_outflow[2]))*1000; 74 | // fuel_a.LHV_calculationType=LHV_calculationType; 75 | else 76 | fuel_a.LHV_outflow = LHV_predefined; 77 | // fuel_a.LHV_calculationType=LHV_calculationType; 78 | // assert(fuel_a.LHV_calculationType == "predefined" or fuel_a.LHV_calculationType == "Verbandsformel", "Please check your LHV calculation settings inside boundaries."); 79 | 80 | end if; 81 | 82 | h_coal = actualStream(fuel_a.LHV_outflow) + fuel_a.fuelType.cp*(actualStream(fuel_a.T_outflow) - 298.15); 83 | fuel_a.cp_outflow=cp; 84 | 85 | if (not variable_p) then 86 | p_in=p_const; 87 | end if; 88 | if (not variable_T) then 89 | T_in=T_const; 90 | end if; 91 | if (not variable_xi) then 92 | xi_in=xi_const; 93 | end if; 94 | 95 | fuel_a.T_outflow=T_in; 96 | fuel_a.p=p_in; 97 | fuel_a.xi_outflow=xi_in; 98 | 99 | annotation (Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100, 100 | -100},{100,100}}), 101 | graphics={ 102 | Text( 103 | extent={{-100,30},{10,-30}}, 104 | lineColor={27,36,42}, 105 | fillColor={215,215,215}, 106 | fillPattern=FillPattern.Solid, 107 | textString="T 108 | xi")}), Diagram(graphics)); 109 | end BoundaryFuel_pTxi; 110 | -------------------------------------------------------------------------------- /Components/BoundaryConditions/BoundaryFuel_Txim_flow.mo: -------------------------------------------------------------------------------- 1 | within ClaRa_Obsolete.Components.BoundaryConditions; 2 | model BoundaryFuel_Txim_flow "A source defining mass flow, temperature and composition" 3 | //___________________________________________________________________________// 4 | // Component of the ClaRa library, version: 1.2.2 // 5 | // // 6 | // Licensed by the DYNCAP/DYNSTART research team under Modelica License 2. // 7 | // Copyright 2013-2017, DYNCAP/DYNSTART research team. // 8 | //___________________________________________________________________________// 9 | // DYNCAP and DYNSTART are research projects supported by the German Federal // 10 | // Ministry of Economic Affairs and Energy (FKZ 03ET2009/FKZ 03ET7060). // 11 | // The research team consists of the following project partners: // 12 | // Institute of Energy Systems (Hamburg University of Technology), // 13 | // Institute of Thermo-Fluid Dynamics (Hamburg University of Technology), // 14 | // TLK-Thermo GmbH (Braunschweig, Germany), // 15 | // XRG Simulation GmbH (Hamburg, Germany). // 16 | //___________________________________________________________________________// 17 | 18 | extends ClaRa.Basics.Icons.FlowSource; 19 | extends ClaRa_Obsolete.Basics.Icons.Obsolete_v1_3; 20 | ClaRa.Basics.Interfaces.Connected2SimCenter connected2SimCenter( 21 | powerIn=if massFlowIsLoss then 0 else min(0, fuel_a.m_flow*h_coal), 22 | powerOut=if massFlowIsLoss then 0 else max(0, fuel_a.m_flow*h_coal), 23 | powerAux=0) if contributeToCycleSummary; 24 | parameter Boolean contributeToCycleSummary = simCenter.contributeToCycleSummary "True if component shall contribute to automatic efficiency calculation" 25 | annotation(Dialog(tab="Summary and Visualisation")); 26 | parameter Boolean massFlowIsLoss = true "True if mass flow is a loss (not a process product)" annotation(Dialog(tab="Summary and Visualisation")); 27 | 28 | parameter ClaRa.Basics.Media.Fuel.PartialFuel fuelType=simCenter.fuelModel1 "Coal elemental composition used for combustion" 29 | annotation(choices(choice=simCenter.coalModel "Coal model 1 as defined in simCenter"), 30 | Dialog(group="Fundamental Definitions")); 31 | 32 | parameter Boolean variable_m_flow=false "True, if mass flow defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 33 | parameter Boolean variable_T=false "True, if temperature defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 34 | parameter Boolean variable_xi=false "True, if composition defined by variable input" annotation(Dialog(group="Define Variable Boundaries")); 35 | 36 | parameter ClaRa.Basics.Units.MassFlowRate m_flow_const=0 "Constant mass flow rate" annotation (Dialog(group="Constant Boundaries", enable=not variable_m_flow)); 37 | parameter ClaRa.Basics.Units.Temperature T_const=simCenter.T_amb_start "Constant specific temperature of source" annotation (Dialog(group="Constant Boundaries", enable=not hInputIsActive)); 38 | parameter ClaRa.Basics.Units.MassFraction xi_const[fuelType.nc - 1]=fuelType.defaultComposition "Constant composition" annotation (Dialog(group="Constant Boundaries", enable=not variable_xi)); 39 | /*zeros(fuelType.nc-1) */ 40 | parameter String LHV_calculationType="predefined" "Calculation type" annotation ( 41 | Dialog(group="Combustion settings"), choices( 42 | choice="predefined" "Use fixed value for the LHV", 43 | choice="Verbandsformel" "Calculate the LHV from the Verbandsformel")); 44 | 45 | parameter ClaRa.Basics.Units.EnthalpyMassSpecific LHV_predefined=30e6 "LHV value for the coal" 46 | annotation (Dialog(enable=(LHV_calculationType == 47 | "predefined"), group="Combustion settings")); 48 | parameter Modelica.Units.SI.SpecificHeatCapacity cp=fuelType.cp "Specific heat capacity of fuel" annotation (Dialog(group="Combustion settings")); 49 | 50 | outer ClaRa.SimCenter simCenter; 51 | protected 52 | Modelica.Units.SI.MassFlowRate m_flow_in; 53 | Modelica.Units.SI.Temperature T_in; 54 | Modelica.Units.SI.MassFraction xi_in[fuelType.nc - 1]; 55 | ClaRa.Basics.Units.EnthalpyMassSpecific h_coal; 56 | //SI.EnthalpyMassSpecific LHV; 57 | 58 | public 59 | Basics.Interfaces.Fuel_outlet fuel_a(final fuelType=fuelType, LHV_calculationType=LHV_calculationType) annotation (Placement(transformation(extent={{90,-10},{110,10}}))); 60 | 61 | Modelica.Blocks.Interfaces.RealInput m_flow=m_flow_in if (variable_m_flow) "Variable mass flow rate" 62 | annotation (Placement(transformation(extent={{-120,40},{-80,80}}))); 63 | Modelica.Blocks.Interfaces.RealInput T=T_in if (variable_T) "Variable specific temperature" 64 | annotation (Placement(transformation(extent={{-120,-20},{-80,20}}))); 65 | Modelica.Blocks.Interfaces.RealInput xi[fuelType.nc-1]=xi_in if 66 | (variable_xi) "Variable composition" 67 | annotation (Placement(transformation(extent={{-120,-80},{-80,-40}}))); 68 | equation 69 | 70 | if LHV_calculationType == "predefined" then 71 | fuel_a.LHV_outflow = LHV_predefined; 72 | // fuel_a.LHV_calculationType=LHV_calculationType; 73 | elseif LHV_calculationType == "Verbandsformel" then 74 | fuel_a.LHV_outflow =(33907*fuel_a.xi_outflow[1] + 142324*(fuel_a.xi_outflow[2] - fuel_a.xi_outflow[3]/8.) + 10465*fuel_a.xi_outflow[5] - 2512*((1 - sum(fuel_a.xi_outflow)) + 9*fuel_a.xi_outflow[2]))*1000; 75 | // fuel_a.LHV_calculationType=LHV_calculationType; 76 | else 77 | fuel_a.LHV_outflow = LHV_predefined; 78 | // fuel_a.LHV_calculationType=LHV_calculationType; 79 | assert(fuel_a.LHV_calculationType == "predefined" or fuel_a.LHV_calculationType == "Verbandsformel", "Please check your LHV calculation settings inside boundaries."); 80 | end if; 81 | 82 | h_coal = actualStream(fuel_a.LHV_outflow) + fuel_a.fuelType.cp*(actualStream(fuel_a.T_outflow) - 298.15); 83 | fuel_a.cp_outflow=cp; 84 | 85 | if (not variable_m_flow) then 86 | m_flow_in=m_flow_const; 87 | end if; 88 | if (not variable_T) then 89 | T_in=T_const; 90 | end if; 91 | if (not variable_xi) then 92 | xi_in=xi_const; 93 | end if; 94 | 95 | fuel_a.T_outflow=T_in; 96 | fuel_a.m_flow=-m_flow_in; 97 | fuel_a.xi_outflow=xi_in; 98 | 99 | annotation (Icon(graphics={ 100 | Text( 101 | extent={{-100,30},{60,-30}}, 102 | lineColor={27,36,42}, 103 | fillColor={215,215,215}, 104 | fillPattern=FillPattern.Solid, 105 | textString="T, xi")}), 106 | Diagram(graphics)); 107 | end BoundaryFuel_Txim_flow; 108 | --------------------------------------------------------------------------------