The objective of this exploration is to guide you through your first steps with Thermoptim, helping you discover the main screens and functionalities associated with a simple refrigeration installation model.
ou will discover the layout of the point and process screens, the way in which their parameters can be set and they are calculated, the concepts of useful and purchased energies making it possible to draw up the global energy balances.
You will visualize the cycles in the thermodynamic (h, ln (P)) diagram and you will carry out studies of sensitivity of the cycle depending on the outside temperature and the high pressure.
A steam power plant operates on the Hirn (or Rankine with superheating) cycle, which uses a condensable fluid, water, which is cooled at a pressure and temperature sufficient for it to be fully liquefied before compression.
In such conditions, the compression work becomes almost negligible compared to the expansion work (whereas it represents around 60% in a gas turbine). The compressed liquid is vaporized and superheated in the boiler by heat exchange with the hot source, then expanded and condensed.
At point 1
at the condenser outlet, the water is in the liquid state, at a
temperature of about 27° C. At this temperature, the water saturation
pressure is very low (0.0356 bar).
This diagram shows that such a plant comprises four components: a pump, a boiler, a turbine and a condenser, crossed by the same flow of water.
The pump and the turbine are assumed to be adiabatic. As for the boiler and the condenser, we can at first guess that they are isobaric.
The pump is generally of the centrifugal, multi-stage type, given the very high compression ratio to be achieved.
The boiler, generally of the water tube type, performs three successive functions:
It therefore behaves like a triple exchanger, and can be represented from the point of view of heat exchanges by the diagram in the figure.
When you launch the Thermoptim browser, three windows are open:
The diagram editor allows one to graphically and qualitatively describe the system studied. It includes a palette presenting the existing components and a work panel where these components are placed and interconnected by vector links.
The simulator allows you to quantify and then calculate the model described in the diagram editor. It includes the lists of the points, processes, nodes and heat exchangers comprising the model.
This document provides more information on these two environments.
The model is loaded by opening the diagram file and an appropriately set project file.
Click on the following link: Open a file in Thermoptim
You can also:
You can see the diagram of the cycle there, which is almost the same as the one presented above, with the exception that the boiler has been represented by three components to distinguish the phases of heating in the liquid state (economizer), vaporization (evaporator), and superheating (superheater).
Press the F3 key, or select the menu item "Special/Display the values".
The diagram then becomes a synoptic view of the installation. On each link between two components, the values of the thermodynamic state of the corresponding point appear (substance name, temperature, pressure, enthalpy) and that of the flow involved (here 1 kg/s).
The title block displays the energy balance components: useful power (net output), purchased power (input power) and efficiency.
If you press the F3 key again, or select the menu item "Special/Display the values", the values are hidden, except those from the title block.
The different elements that make up the model appear in the tables: 6 points and 6 processes, with their main characteristics.
A click on one of the lines will display the related screen.
Two important buttons appear in the central part:
We will return to their use later.
A process is used to represent the evolution of a fluid in a machine component.
During this step, you will become familiar with the process screens.
Start by studying the main areas of their screen, then display one or more of those in the model.
The screen of a process has four main areas, the first three of which are common to all processes:
By convention, we count positively the energies and powers received by a system, and negatively those that it supplies to the outside. This is why the energy or power used in a turbine is counted negatively.
How to open the screen of a process?
As an exercise, go to the diagram editor and double-click on the "turbine" process.
If you cannot do it, click this button
A point is used to determine the thermodynamic state of a small particle of matter.
Start by studying the main areas of their screen, then display one or more of those in the model.
A point screen has three main areas:
Several settings are possible, especially for vapors, for which it is possible to set the temperature or the saturation pressure.
How can you open a point screen?
There are three ways to open the from a point screen:
As an exercise, go to the diagram editor and double-click on the link between the "condenser" and "pump" processes.
If you cannot do it, click this button
The setting of this point has a particularity, at the level of the lower part indicated in green in the image above: the option "set saturation temperature" has been checked, and a value equal to -0.1 has been entered in the "Tsat approach" field.
This setting is used to tell Thermoptim that the point temperature corresponds to a subcooling of -0.1° C compared to the evaporation/condensation temperature at the chosen pressure.
If this pressure is subsequently modified, the point temperature will be automatically recalculated, keeping this subcooling value.
To represent the different fluids that flow through the systems studied, Thermoptim defines four types of substances:
We display a substance in Thermoptim by clicking on the display button located in the upper left part of a point screen.
In our model, the only working fluid is water, condensable vapor, the properties screen of which is given below.
Several settings are possible, especially for vapors, for which it is possible to set the temperature or the saturation pressure.
Thermoptim includes around twenty pure gases.
The properties of the gases are based on the ideal gas model: the law Pv = rT and a development of the thermal capacity Cp of the gas as a function of the temperature.
The perfect gas corresponds to the particular case where Cp is a constant.
We can define in Thermoptim as many compound gases as desired, obtained by mixing the pure gases available.
Compound gases are divided into two categories:
The reason for this distinction is simply to prevent a modeling error from changing the composition of a known gas, such as that of air or natural gas.
About twenty condensable vapors represent fluids in areas close to their liquid-vapor equilibrium curve.
The ideal gas model is therefore insufficient.
These are substances defined outside of the Thermoptim core, hence their name.
They can either be simple substances, entirely calculated in the external classes of Thermoptim, or else mixtures, whose calculation can be carried out in specific software, coupled with Thermoptim.
Thermodynamic diagrams are the third working environment of Thermoptim. There are several types, and the properties of substances can be represented there.
We will detail a little more the (h, ln (P)) diagram, and indicate how to change the type of diagram.
The interest of the (h, ln (P)) diagram is that it is very easy to use and that the energies involved are read directly on the abscissa axis.
In the (h, ln (P)) diagram, the enthalpy is plotted on the abscissa, and the pressure is plotted on the ordinate, most often on a logarithmic scale, so that the area corresponding to the low pressures is more readable.
Its apex corresponds to the critical point C, the left, ascending part, represents the saturated liquid line (bubble curve), and its right, descending part, saturated vapor line (dew curve).
Below this curve is the domain of the two-phase liquid-vapor equilibrium, and, in the rest of the plane, that of the simple fluid.
This figure, relating to water, recalls the names of the main curves in the diagram.
Click this button
You can also open the diagram using the "Interactive Diagrams" line in the "Special" menu of the simulator screen, which opens an interface that links the simulator and the diagram. Double-click in the field at the top left of this interface to choose the type of diagram desired (here "Condensable vapors").
Once the diagram is open, choose "water" from the substance menu, and select "(h, p)" from the "Graph" menu.
If the configuration of the diagram axes does not suit you, you can modify it using the lines X axis and Y axis of the Graph menu. A configuration window is then displayed.
If you click on the "Graduations" box, vertical lines for the x-axis and horizontal lines for the y-axis are drawn on the screen, at the main scale of the axis.
If you click on the "Automatic scale" box, Thermoptim will search for a scale covering all the data relating to the selected substance.
The scale is logarithmic if you check the corresponding box, and linear otherwise.
If the "Automatic scale" box is not checked, you can enter the minimum and maximum values you want. The values for the main and secondary scales can either be calculated automatically or entered by you, depending on whether the corresponding "Auto" box is checked or not.
Please note: if the "Automatic scale" box is checked, your values will be replaced by those that Thermoptim will automatically determine.
After making your changes, click "OK" to save your choices, and "Cancel" to return to the previous values.
Click this button
You can also open this cycle as follows: in the diagram window, choose "Load a cycle" from the Cycle menu, and select "cycle_lightEnThin.txt" from the list of available cycles. Then click on the "Connected points" line in the Cycle menu.
Enter a point in liquid zone
What is the point in two-phase zone?
What is the point with the highest temperature?
To display this type of diagram, click this button
You can also open this cycle in the following way: select "(T, s)" in the "Graph" menu of the diagram window.
If the abscissa or ordinate scale does not suit you, change it using the "Graph/X Axis" and "Graph/Y Axis" menus.
The Energy Balance button of the simulator is used to calculate the overall balance of the project.
Click on it to display the values of the three quantities associated with it, the meaning of which is given below.
Each process has a type of energy which makes it possible to distinguish the "purchased", "useful" and "other" energies:
We saw earlier that the cycle balance appears both in the diagram editor and in the simulator screen.
Let's see how it is calculated. To keep things simple, we will refer to energies here, but the reasoning is of course also valid for the capacities.
The overall balance of the cycle is established by summing up the energy types of the different processes:
The energy type field appears under the process name.
To change the type of energy, double-click on this field and choose from the list of choices offered.
In a steam power cycle, the useful energy is in absolute value the energy generated by the turbine minus that used to drive the pump, and the purchased energy that which has to be brought to the boiler.
Application: open the various processes of the cycle and find their energy types.
One of the great advantages of computer models is that they are very easy to use to study the influence of a parameter on the overall performance of the system.
The next two steps address the issue of flow and pressure propagation.
Once the modification of the parameter has been made in the point or the process, clicking on the "Recalculate" button of the simulator updates the whole model.
It is often necessary to do this several times because new values are updated when each recalculation takes place. The process generally converges quickly, the elements of the overall balance stabilizing.
Once the settings have been made, in order for the modifications to appear in the diagram editor, hide the values, then re-display them, by selecting the menu line "Special / Display values" twice, or by typing twice the F3 key.
Being able to control the flow is very important in practice. In Thermoptim, this control is carried out by the nodes and by the connections between processes. Since there is no node in this model, we will not talk about it here.
When two processes are directly connected, Thermoptim automatically propagates the flow from the upstream process to the downstream process, unless the latter is defined as 'set flow'.".
In such a process, the flow keeps the value entered on the screen, and therefore cannot be modified.
So if you want to change the flow rate of your model, you must do so in a "set flow" process, otherwise your modification will not be taken into account.
Identify in the model the process with "set flow".
As an exercise, modify the flow rate in this process, for example by entering the value of 2 (kg/s) instead of 1.
In order for this value to be taken into account by Thermoptim, you must then click the process "Calculate" button.
To update the complete model, go to the simulator screen and click the "Recalculate" button until the balance stabilizes.
Then go to the diagram editor and press twice the F3 key: the new screen is then displayed. The useful and purchased capacities have doubled, but the efficiency has of course remained the same.
The steam cycle works between two pressure levels, called high pressure (HP) and low pressure (LP).
When you want to change their values, you have to do it in each point, which is a bit tedious.
To make things easier, the "exchange" type processes offer an option, called "iso-pressure" (isobaric process), that you may have noticed.
If selected, the pressure from the upstream point is automatically propagated to the downstream point.
As a result, when several "iso-pressure" type "exchange" processes are connected together and you wish to change their pressure, you must do so in the upstream point of the most upstream process, otherwise your modification will have no effect.
In which point should we change the pressure in order to change the high pressure of the model?
As an exercise, modify the high pressure in this point, for example by entering the value of 150 (bar) instead of 128.
For this value to be taken into account by Thermoptim, you must click the point "Calculate" button.
To update the complete model, go to the simulator screen and click the "Recalculate" button until the balance stabilizes.
Then go to the diagram editor and press twice the F3 key: the new screen is then displayed. The efficiency has slightly increased.
There are two ways to open the screen of a process: either by double-clicking on its icon in the diagram editor, or by double-clicking on its row in the simulator process table.