Thermal Power Library - Release Information

Release Notes for Thermal Power Library 1.15

Thermal Power Library 1.15 is part of Modelon’s 2017.2 release.  

New versions of Modelon libraries are sold and distributed directly from Modelon, as well as approved resellers.

Version 1.15 of the ThermalPower library comes with several new features and improvement that will make the design process and user experience better. Highlights include automatic tuning of PID Controllers based on Asymmetric Relay Feedback, developed in collaboration with the Department of Automatic Control at Lund University, based on the latest research. The autotuner automizes the control design which helps both a user not so familiar with automatic control but also the expert who needs to improve an existing control design. Another highlight is models and templates for sizing of heat exchangers using dynamic models. Using dynamic models in the design process has the advantage that the same models can be used for the design case and in transient analysis which makes the modeling and verification process more efficient and ensure consistent result. Version 1.15 also comes with an indirect molten salt energy storage system including control logic for the charging and discharging mode. With this new addition, the user can analyze storage performance for different fluids, geometry configurations and test out control concepts. Another new feature is acid condensation checker for detection of sulfuric and hydrochloric acid in the flue-gas. It is used to verify design and operation conditions as condensation of acid can lead to serious corrosion problem. The new flue gas composition visualizers support displaying flow and composition in mass and mole based units, which makes it is easy to get an overview of the flow streams in the system. Other features include a flue-gas filter and a pipe with bends.

New features

  • PID control autotuner based on Assymetric Relay Feedback, developed in collaboration with the Department of Automatic Control at Lunds university based on the latest research. It automizes the control design and can be used to assist in setting up a controller or improve an existing control design.
  • Sizing of heat exchangers using dynamic models. It comes with new heat exchanger models and templates with example of a superheater and an economizer. The design manager supports various design modes such as specifying outlet temperatures and heat flow rate. There is also support for model reduction using a newly developed algorithm which enables the user to use a lower fidelity model for faster simulations.
  • Indirect thermal energy storage system consisting of two tanks connect via valves, pumps and a heat exchanger. It can be used as an energy storage component for e.g. thermal solar applications. It comes with an example with a control strategy for charging and discharging.
  • New pipe and friction models with bends. The new pipe can be used for design of long distribution pipes.
  • Flue-gas substance visualizers to show the flow composition in terms of mass and mole fractions. A user can conveniently switch between flow or fraction sensor types where both mass and mole based units are supported.
  • Flue-gas filters. With the filters, it is possible to filter away ash or other particles from the flue-gas stream.
  • Acid checker for condensation of sulfuric acid (H2SO4) and hydrochloric acid in the flue-gas. This component can be used to verify that the cooling of a flue-gas before its emitted to the atmosphere do not exceed the dew point of acid condensation. Acid condensation should be avoided as it can lead to serious corrosion problem.
  • Gas exhaust medium with hydrogen chloride species.
  • Support for aggregation of district heating customer loads.

Improvements

  • Option to use a dynamic calculation of the heat transfer coefficient in ThermalPower.SubComponents.HeatTransfer.Pipes.KcEvap. For certain applications this will improve the simulation performance.

Fixed issues

  • Updated fan model to support zero speed.

Conversion of user libraries

No conversion from version 1.14 is needed.

Requirements

Thermal Power Library 1.15 is based on Modelon Base Library 3.0 and Modelica Standard Library 3.2.2.

Version 1.14 was released 2017-06-02.

This release comes with a large set of models targeting simulation and optimization of
district heating networks. With these additions, engineers in the field can:

  • Learn the limits of performance of the power plant and the network
  • Improve the economy by minimizing production and operation costs, as well as heat losses

Using the physics based modeling of Modelica, it is possible to optimize heating networks
without simplifications and set constraints on any temperature, flow or pressure in the
system. This is something that is not possible with existing standard approaches based on
considerable model simplifications using linear models. To demonstrate this, examples
aimed at district heating production planning using dynamic optimization are included in the
library. These demonstrate how to find the most profitable scheduling of production units in
a heating network with a clear objective and well defined constraints such as limits in
heating and pumping capacity.


Examples of improvements and new features:

  • District heating package with simulation and optimization examples. Pipe, consumer, producer and optimization models including optimization tutorial with scripts.
  • Time varying system ambient temperature. This is useful for simulations that reach several hours in duration where the ambient temperature may vary. An example of this is district heating simulation.
  • A fast simulating, incompressible water medium. This can be useful in water applications where simulation speed is prioritized.
  • Variable correction factor CF_length in pipe and heat exchanger models and a corresponding CF_area in wall models. They can be used to dynamically change the length and heat transfer area during simulation in order to solve design problems.
  • Improved parameter dialog for fixed zeta flow resistance.
  • Improved Solid media interface.
  • Replaced the thermoRoot flow regularization function with regRoot from the Modelon Base Library.

Conversion of user libraries:
Automatic conversion of user libraries from version 1.13 is supported using the included
conversion script.

ThermalPower 1.13 is so far the largest release since the first version. It contains a large set of new features and improvements that will open up new application areas and make the modeling and user experience more efficient and easier.

Highlights include a new solar package with components and plant example for Concentrated Solar Power applications including parabolic trough and power tower. Another highlight is a nuclear steam generator plant system based on the conceptual design of the ALMR (Advanced Liquid-Metal Reactor) PRISM reactor as documented in the early 1990s, which has been developed in collaboration with Oak Ridge National Laboratory. ThermalPower 1.13 also has a new polynomial based steam and water medium which can be used in dynamic optimization problems or as an alternative to the high precision WaterIF97 when simulation performance is prioritized. Also on the flue gas side there is a new faster alternative to the Nasa based gas media which will speed-up your simulations.

For further details see the list of changes below.

New features

  • Solar package with components and plant example for solar applications. The solar sub-library contains models for Concentrated Solar Power applications including parabolic trough and power tower. It contains models for energy storage, insolation, heliostats, central receiver, cloud coverage, absorber tubes with glass coverage and heat transfer correlations, solar field and the heat transfer fluids TherminalVP1 and Solar salt. There is also a complete central receiver solar power plant based on the test facility Solar Two in California which include the control system and Rankine cycle.
  • Nuclear steam generator plant system. It is based on the conceptual design of the General Electric Company ALMR (Advanced Liquid-Metal Reactor) PRISM reactor as documented in the early 1990s. It was developed in collaboration with Oak Ridge National Laboratory for plant supervisory control. The model includes parallel pumps, bypass valves, moisture separator reheater and control system. It has been developed to be generic and reconfigurable.
  • Polynomial based water and steam medium. It can be used in dynamic optimization problems or as an alternative to the high precision WaterIF97 when simulation performance is prioritized.
  • Fast gas media with analytic inverse functions. This media can be used as a slighly less accurate alternative to the Nasa based gas media with the advantage of improved simulation performance.
  • Multi-stage turbine templates. Several new steam turbine models with various numbers of stages have been added. The user can now quickly set-up the turbine generator system.
  • Visualization of valve input signal.
  • Inverse block for ThermalPower.TwoPhase.Valves.ValveLiquid, ThermalPower.TwoPhase.TurboMachinery.Pumps.PumpGeneric and ThermalPower.TwoPhase.TurboMachinery.Pumps.PumpPosDispl. The inverse block calculates which input that is required for the valve or pump to give a certain mass-flow. This feature makes it possible to design controllers with feedforward compensation. This is especially useful for level control of drum, condensor and feedwater heaters.

Improvements

  • Check that nominal parameters have the correct sign. If false an assert is triggered with a descriptive error message.
  • Extended turbine summary record with vapor mass fraction and inlet and outlet specific enthalpy.
  • Improved nominal operating point calculation of ThermalPower.TwoPhase.TurboMachinery.Turbines.SteamTurbineStodola. A new parameter h_nom has been added to better separate between nominal and start values. The default value of pstartin and pstart have been changed so they are equal to p1_nom respective p2_nom. Previously the default values of p1_nom and p2_nom were calculated from pstartin and pstart.
  • Extended condenser, drum and dearator summary record with condensing level in percentage.
  • Restructured examples package with models sorted according to application area and renaming overCriticalRankine400MWe to superCriticalRankine400MWe.
  • Improved graphical icons. This makes it easier to align graphical connections.

Fixed issues

  • Corrected Medium propagation in examples models.

Conversion of user libraries

Automatic conversion of user libraries from version 1.12 is supported using the included conversion script convertLibraryName_1.12_to_1.13 located under ThermalPower\Resources\Scripts.

Requirements

Thermal Power Library 1.13 is based on Modelon Base Library 2.5 and Modelica Standard Library 3.2.2.

Version 1.12 contains the changes described below.

New features

  • New Power plant model with control system in the examples section. The model includes the entire steam cycle and most of the flue gas line.
  • New pump model with pre-configured characteristics for easier modeling.
  • New condenser pump example

Improvements

  • Improved numerical properties for steady state initialization of ThermalPower.FlueGas.FlowChannels.Pipe_lumpedP
  • Improved numerical properites of ThermalPower.TwoPhase.FlowChannels.Pipe_lumpedP
  • Tutorial updated

Fixed issues

  • Corrected an error in the component mass balance in ThermalPower.FlueGas.FlowChannels.Pipe_lumpedP. Improved behavior during transients is expected.

Conversion of user libraries

No conversion is needed for this release.

Requirements

Thermal Power Library 1.12 is based on Modelon Base Library 2.4 and Modelica Standard Library 3.2.2.

It has been tested with:

  • Dymola 2017
  • Dymola 2016 FD01

Version 1.11 contains the changes described below.

This release has been focused on improving the documentation and there has been a major revision of the model documentation.

Improvements

  • Improved model documentation
  • Improved Modelica compliance

Fixed issues

  • Removed unused parameter explicitIsentropicEnthalpy in ThermalPower.TwoPhase.TurboMachinery.Turbines.Templates.TurbineBase
  • Removed directoryName due to compliance issues in ThermalPower.FlueGas.TurboMachinery.Fans.Basic.FanMap_dpDivrho_speed. The filename needs to include the path now.
  • Corrected substanceName in ThermalPower.Media.Gases.ExhaustWithAsh
  • Corrected unit of parameter mechanicalLoss in ThermalPower.FlueGas.TurboMachinery.Turbines.Turbine
  • Corrected propagation of n_channels in ThermalPower.TwoPhase.FlowChannels.Pipe
  • Condenser ThermalPower.TwoPhase.Condensers.Condenser use standard wall instead of deprecated version

Library structure changes

Obsolete classes

  • ThermalPower.SubComponents.Internal.Icons.Water.Drum
  • ThermalPower.SubComponents.Internal.Icons.Plant
  • ThermalPower.SubComponents.Internal.Functions.phaseLocation
  • ThermalPower.SubComponents.Internal.Functions.parallelFlowEps -> Modelon.ThermoFluid.HeatExchangers.Functions.parallelFlowEps


Conversion of user libraries

Automatic conversion of user libraries from version 1.10 is supported using the included conversion script convertLibraryName_1.10_to_1.11 located under ThermalPower\Resources\Scripts.

Requirements

This library is based on Modelon Base Library 2.3 and Modelica Standard Library 3.2.1.  

It has been tested with:

  • Dymola 2016 FD01
  • Dymola 2016

New features

  • Wall model with radial discretization. With this model it's possible to discretize a wall in radial direction which can be used for calculation of thermal stress.
  • Generic two phase heat exchanger
  • Generic gas-gas heat exchanger

 

Improvements

  • Improved Modelica compliance
  • Combustion with variable Lower Heating Value.The LHV in SolidFuelCombustor has been changed from a parameter to an input variable. The SolidFuels media interface has also changed the former LHV constant into a function LHV_pTX to make it possible to define a LHV that is dependent of e.g. composition.
  • TubeAndShell fluegas heatexchanger has been replaced with TubeShell. The new model has an improved interface which is more user-friendly and has support for more correlations.
  • Plate two-phase heatexchanger has been replaced with PlateHex. The new model has an improved interface which is more user-friendly and has support for more correlations.
  • Plate gas - two-phase heatexchanger has been replaced with Plate_gas2ph. The new model has an improved interface which is more user-friendly and has support for more correlations.
  • New initialization parameter for SignalDefinedFan

Conversion of user libraries

Automatic conversion of user libraries from version 1.9 is supported using an included conversion script.

Requirements

This library is based on Modelon Base Library 2.2 and Modelica Standard Library 3.2.1.  

It has been tested on:

  • Dymola 2016
  • Dymola 2015 FD01

2014-11-30

Release notes of ThermalPower library version 1.9. The previous version was ThermalPower library 1.8.

New features

  • New system component System_TPL. It's used to set global system settings such as T_ambient. It also automatically sums up volumes, energy and mass in twophaseMedia components and energy and mass in wall models.
  • New pre heater model, ThermalPower.TwoPhase.Condensers.Condenser_3_zones. The 3-zones make it possible to simulate sub-cool and super-heat effects.
  • New parameter in Benson separator that specifies the outlet vapor quality.

Improvements

  • Fixed mass conservation in ThermalPower.TwoPhase.FlowChannels.Pipe_lumpedP (valid for positive flow) , the conservation laws were not fulfilled during transients. Note that there might be a minor difference in dynamics compared to result using older versions.
  • More efficient implementation of two-phase lumped pipe, better simulation performance.
  • More efficient implementation of gas lumped pipe, better simulation performance.
  • General improved Modelica compliance
  • The constraining class for Medium in Fluid components has changed from ThermalPower.Media.Interfaces.FluidInterface -> Modelon.Media.Interfaces.HomogeneousMedium due to the former was not fully Modelica compliant.
  • Optional heat connector in drum model.
  • New downcomer and riser port position parameter in drum model. Pressure in the riser port is now affected by the static head.
  • New condenser state variable parameter, for better mass conservation.
  • M_tot in lumped twoPhase pipe is now equal to the total mass instead of the total mass for a single pipe.
  • Restructuring of ThermalPower.Thermal.MetalProperties model to make them Modelica compliant.
  • Index record has been removed from Medium models due to Modelica compliance issues. Instead should Medium.substanceIndex() be used, see ThermalPower.SolidFuels.Combustors.SolidFuelCombustor for example on usage.
  • Removed usage of classDirectory - replaced by tool independent function Modelica.Utilities.Files.loadResource
  • Restructured heat transfer base classes in ThermalPower.SubComponents.Deprecated in order to be Modelica compliant.

Fixed issues

  • Corrected constrainedby classes in TwoPhase components.

Conversion of user libraries

Automatic conversion of user libraries from version ThermalPower 1.8 is supported using the included conversion script from convertTPL_1.8_to_1.9.mos located under ThermalPower\Resources\Scripts

Library dependencies

Thermal Power Library 1.9 is based on Modelon Base Library 2.1 and Modelica Standard Library 3.2.1

It has been tested on:

  • Dymola 2015 FD01
  • Dymola 2015

2014-04-30

Available for: Dymola 2015

Dependencies: Modelica Standard Library Version: 3.2.1 and Modelon Base Library 2.0

Conversion script from 1.7 provided.

This release has been focused on improving the user-friendliness and further integrating the library into the Modelon base library structure.Major improvements:

  • Gas side components have been improved and integrated more into the Modelon library structure.
  • Restructuring of DynamicPipe_lumpedP gas model. The new pipe model has a more user-friendly structure; it supports radiation and replaceable pressure loss models. 
  • New discretized gas pipe model ThermalPower.Gas.FlowChannels.Pipe. It can handle reversing flow.
  • Restructuring of ThermalPower.FlueGas.HeatExchangers.TubeAndShell_gasTwoPhase. The new model has a more user-friendly structure; it has an improved wall initialization and supports replaceable friction models. It’s possible to enable radiation and an extra heat connector. It also possible to choose between a lumped and a standard discretized pipe model. 
  • New wall model with a more user-friendly generic structure. 
  • New gas and two-phase heat exchanger Generic_gas2ph. It's parameterized by basic geometry parameters.
  • New radiation model, ThermalPower.SubComponents.HeatTransfer.Radiative.RadiationSimple
  • New generic gas friction loss model. The user can choose from a large variety of pressure loss correlations, including quadratic, linear, loss coefficient based etc.

Dependencies: Modelica Standard Library Version: 3.2.1 and Modelon Base Library 1.9

Conversion script from 1.6 provided.

Improvements 

  • Restructuring of DynamicPipe_lumpedP twophase model. The old model has been moved to package ThermalPower.SubComponents.Deprecated and the new model is named Pipe_lumpedP
  • New discretized twophase pipe model ThermalPower.TwoPhase.FlowChannels.Pipe. It can handle reversing flow.
  • Its possible to use other twophase medium than WaterIf97,e g. an organic medium, e.g.rR134a.
  • WaterIF97 medium removed from ThermalPower.Media.TwoPhase, uses now medium model Modelon.Media.PreDefined.TwoPhase.WaterIF97