NetSim Guide
NetSim Guide
What is NetSim?
NetSim is an interactive tool for calculations of pipe networks for district
heating, district cooling and steam.
With NetSim, you can:
Dimension pipe networks
Optimise pumping
Optimise flow pipe temperatures
Minimise heat losses
NetSim includes:
A powerful graphical interface which is used to define the pipe
networks and calculation criteria.
An effective calculation drawing module.
A powerful graphic presentation of calculation results in the form of
charts, diagrams and tables.
Powerful export tools which directly export data to Excel format,
DXF/DWG and a number of raster formats.
Powerful import tools for importing data from a number of network
information systems on the market.
The manual
This manual covers NetSim release 3.5
27/02/2017: Updated manual
Note that changes are made to software without updating the manual.
Basic elements
The calculation model for a network consists of the basic elements nodes and
pipes. All numerical information is linked to these elements. A node is
represented by a circle on the chart, while a pipe (comprising a supply pipe and a
return pipe) is represented by a line between two nodes.
Nodes
The following can be simulated in nodes:
Loads produced from nominal or measured values at consumer level.
Alternatively, consumption can be given as zero.
Thermostatic bypass
Bypass with fixed diameter or Kv value
Production plants
Shunt valves
Accumulators
In addition, the node is a coupling between one or more pipes (max. 8). The
model describes the nodes by providing names, coordinates, an elevation, a
cooling or return temperature and information on bypasses.
Every consumer can belong to only one category, but a node can stand
in relation to many consumers with different categories.
A single node, such as a branch, is the same thing as a node without a
load.
A production plant is a node where supplements have been made to the
node information for supply temperature, possible production quantity
and absolute pressure.
Pipes
The pipes in the model are couplings between the nodes. Pumps, valves and heat
exchangers can be connected to pipes. A pipe is characterised by the name of the
connecting nodes, length, internal diameter, roughness, heat transfer coefficient,
individual loss, two pressure losses at both ends and the flow in the pipe.
The model assumes that the network is geometrically symmetrical from inlet to
return. Various physical units such as diameter, heat transfer coefficient,
individual loss, length and roughness can be specified. Pumps and valves can be
connected to either the upstream pipe end or the downstream pipe end; see the
figure.
A heat exchanger can be connected to a pipe end. Quite simply, the heat
exchanger describes an increased or a decreased temperature for the water in the
pipe. The power supplied or removed via the heat exchanger is a linear function
of the temperature upstream in the pipe.
The simplest possible system - one pipe and two nodes - is shown in the figure
above. This system meets the requirements for both pressure and differential
pressure and the flow being known at all nodes, except for one. The nodes in
which the flow and pressure are stated is of no significance.
In some cases, more than one pressure check must be specified; for example, if a
pressure increase or a pressure drop in a valve is to be calculated. In these cases,
more than one pressure must be known, one for every ΔP to be calculated. The
unknown pressure change must be positioned between the known absolute
pressures in relation to the direction of flow of the liquid.
Model
of a pipe network provided with a pump controlled to find a set pressure at the
end point
The two examples below show exceptions which may occur in respect of what
was described above:
If the unknown pressure P is set in a pipe which is part of a system
containing ring connections.
In a node, the known flow can be replaced by another known pressure.
The flow is then calculated on the basis of the calculated pressure
profiles.
Dimensioning
NetSim can be used for dimensioning pipes. The user can specify which of three
criteria are to be used:
1. Maximum permitted velocity in the pipe.
2. Maximum permitted gradient in the pipe.
3. Dimension-dependent criterion where a velocity criterion is used if the
diameter is less than a diameter specified by the user, and a pressure
It is possible to specify the criterion as a global criterion, i.e. it is used for all
pipes to be dimensioned. It is also possible to assign individual criteria to the
pipes.
NetSim uses dimensions from a pipe directory, which ensures that the criterion is
not breached.
There is no limit on how many pipes can be dimensioned, but the number of pipe
types to choose from is limited to 20 different types/dimensions. A name,
internal diameter, roughness and heat loss factor are specified for every pipe
type.
A pipe's diameter is dimensioned if the pipe's diameter is not defined from the
outset. NetSim assigns a diameter to the pipe, which is chosen from the pipe
types in the active directory. If the roughness of the pipe is not defined, the pipe's
roughness is also selected.
The user must be aware that it is possible to define problems relating to pipe
dimensioning which have no hydraulic solution. One example is a looped
system. If the pipe to be dimensioned is part of a loop and two different pressure
gradients are specified, a hydraulic solution does not necessarily exist. In cases
such as this, NetSim will not arrive at a solution and the maximum number of
iterations will be exceeded.
Dynamic calculations
The purpose of the dynamic module is to simulate changes in input temperatures
and loads as a function of time.
By using the dynamic module, the user can study how temperature fronts prepare
themselves in the pipe network as a function of the time.
Water hammer cannot be simulated using the dynamic calculations due to the
time scale for water hammer, normally less than one tenth of a second.
The results are presented in tables, graphs and plots.
Simulation is carried out as a series of stationary calculations separated by a
user-identified time interval where the results of the preceding time step adjusted
by time-dependent factors constitute input data to the next time step calculation.
To change the load in different parts of the network with time, the nodes can be
linked to one of ten potential categories. For every category, the load can be
scaled using a time-dependent factor. The supply temperature, return temperatur
and production price for the production plants can be changed during the
specified time in a similar way.
Steam module
The steam module is used like the regular liquid phase module, apart from the
fact that the system requires steam in the supply pipe and liquid phase in the
return pipe.
Latent heat is taken into account when a phase shift takes place in the
heat exchangers.
The compressibility of the steam is integrated into the pressure drop
calculations.
District cooling
When the calculation relates to a district cooling network, the physical properties
of the water are adapted to the temperatures used in district cooling networks.
Input and power data is adapted to take into account the fact that energy is
removed at the production plants. When calculating a district cooling network,
the consumers' return temperature must be stated as a parameter, along with
power/flow.
You should be aware that “rules of thumb” from district heating distribution are
not directly applicable. There are small temperature differences, and large water
flows in these networks in relation to power!
Introduction
This section of the manual describes how to use NetSim by way of an example
whereby a completely new model will be created. The model will gradually be
supplemented to add functions in NetSim. When you need more detailed
descriptions of functions, menus and forms in NetSim, look up these descriptions
in the relevant sections of the manual.
Start NetSim
Start NetSim from the start menu.
Enter your username, password and the name of the database. If you check the
Remember username/password box, your login details will be saved for the next
time you start NetSim.
When you have connected to the database, you can select which model to work
with;
Pipe types
If your NetSim has been converted from an earlier version of NetSim, type data
will already be installed. The same is true if type data was installed when you
installed NetSim. Otherwise you now have to create one or more pipe types to be
linked to pipes in the model before we create the first model in NetSim.
Close the calculation form, and in the model dropdown menu select your new
model.
Creating a grid
You now have to create the first pipe in the model. For them to end up in the
“right” place in geographical terms, we will load a map as our background in the
graphic window. Background maps may be in DXF or DWG format.
Background maps can be straightforward basic maps, but they can also be pipe
maps. The important thing is to ensure that the scaling is correct. In NetSim, one
drawing unit is interpreted as meaning 1 m. Retrieve your background map by
going to the Tools tab and selecting Load in the menu backgrounds menu.
When your map has been loaded, select Zoom boundaries in the right-click
menu.Find the right place on the map using Zoom window from the right-click
menu. You can also scroll using the roller on the mouse to zoom in, or use the
zoom tools under the Home ribbon.
1. Create Pipe
2. Create Node
3. Delete Object
4. Cut Pipe
Of course, you can both start and end the pipe in an existing node. If you left-
click on a node which indicates that it has been hit and then right-click straight
away, the pipe will be connected to the selected node.
Important: In NetSim versions before 3.0.54, you could create a pipe with a
length of 0 m by right-clicking immediately after starting drawing at the first
pipe. This pipe cannot be calculated! If you have updated from an earlier
version, sort the pipe table according to length in order to locate the pipes with 0
length. Pay attention to the name of the end node (copy it to the clipboard by
pressing Ctrl+C). From the right-click menu, select Delete object. Open the
node table, select the node column, then from the right-click menu select Search,
paste in the node name by pressing Ctrl+V in the search box and the node table
now displayed the node sought. In the right-click menu, select Delete object and
the unwanted node will disappear. We will select this method instead of
selecting the node in the map because this will have exactly the same coordinates
as another node and so it is difficult to select the correct node for deletion!
Delete an object
You are sure to create pipes and nodes that you need to delete!
In map view, right-click and select Delete object, or select delete from the Home
ribbon.
Then point at the object to be deleted. If you point at a pipe, the pipe will
disappear. If you point at a node, the node will disappear in addition to the pipes
starting from the node.
Calculable network
When you have created all pipes in the network and these pipes have been
connected to one another to form a continuous network, it is time to check
whether the network hydraulics are all connected.
Create production plant
Select the node in the network which will include the production plant.
Open the table Production plant, right-click in the empty column at the far left,
then select Create new.
The detail form for production plants now opens.
Give your plant a name.
Enter the supply temperature.
Leave the fields current flow and current power empty.
Place the plant in a node by selecting a node in the list, or select the
“globe” if you have selected the node in the map.
Select Pressurisation return or supply and then enter the static pressure.
The production plant has been defined. Select Save to save it, then close the
form.
The calculation has now been configured and basic data has been entered in the
calculation form.
Select Save and Close to finish.
Execute calculation
Calculate
To perform a calculation, select File Calculation in the menu. Then press the
Calculate button. This generates the input data file for the calculation module.
One box is checked, Display manual settings. Leave this box checked when the
model's calculation properties is unknown.
You can now choose a type of calculation; either a static calculation, with the
data you entered, or a dynamic calculation. A dynamic calculation is a number of
static calculations over a set time and is also known as a time series calculation.
This is described later on in the manual.
The calculation stops when it is complete, and either it will have continued to the
end or there will be an error somewhere. The Calculation status box tells you
this.
If it is complete, it stops as the stop criterion is smaller than the value you set in
the calculation window. The stop criterion is 0.005 by default. In this case, the
result is less than 0.005
The number of calculations or iterations can also be seen, in this case 25.
If the calculation is not complete, the Calculation status box tells you this, and if
you click on the Chk button you can open the error message in a text editor in
order to analyse the error.
The results of the calculation can be viewed by clicking on the Out button. See
later on in the section on Results analysis.
Troubleshoot model
If the calculation is not complete, the Calculation status box indicates this, and if
you click on the Chk button you can open the error message in a text editor in
order to analyse the error.
For some types of error, row numbers in the netsim file where the calculation
module has encountered problems are written to the Chk file.
Open the calculation file and review the rows excluded.
There is a list of error messages at the end of the manual. You can see here what
an error message means.
Fault-free model
The model now functions hydraulically, it hangs together. In the next element
we will specify the actual consumptions and production plants that must be in
the network.
Sectioning option
If you shut down both the supply pipe and the return pipe, you will force the
water to take a different route if there is a loop feed option. Otherwise a larger or
a smaller area will be shut down. How large this area is, along with which parts
are affected by the shutdown can be displayed graphically in the function
Sectioning option.
Under the Pipe tab, select the pipe that you want to shut down. It is easiest to
click on the pipe in the map, and thus display the pipe in the table. In the grid, go
to the column Closeoff status. Close both the supply pipe and the return pipe by
selecting Fully closed. Do not forget to save by right-clicking and selecting
Save.
When the pipe is closed, an area is closed off.
Split model
If you want to divide a model, e.g. to delete a town district, this is easy to do
using the function Divide model.
Start by copying the model that you want to divide. Then shut pipes so that two
hydraulic networks are created. Both the supply pipe and the return pipe have to
be shut down.
The pipe is shut down. Select Tools Split model. A confirmation request is
displayed.
The “green network” is selected and so must be retained.
The file looks like the one above (wrapped). If you want to include
notification information, this is added between the last four field
separators.
Column-separate the file in Excel, the ¤ character is the separator.
Now create new rows in the Excel file for your customers. Use your
sample customer as a template. When you have finished, delete the
sample customer. Then set national settings use the ¤ character as a
column separator, or replace your separator with ¤ via a search and
replace command in notepad. Note that numerical values must be
integers with no decimal places. Save the spreadsheet in CSV format.
Import the file by selecting the menu File-> Consumers -> Import all
Your consumers are loaded!
Production plants
When a plant has been defined in a model, one or more other plants can be added
in the same way using the command Create new.
Power or flow must be specified for all production plants except for one.
The supply temperature must be specified for all plants, and only one plant's
pressurization must be activated.
If the network consists of several separated networks, the above is applicable for
each network.
Pressure regulations
Map plots
It is possible to print the map from Analyse. The printout is defined in File
Print
Graphs
Graphs are described under Diagrams in the section on Analyse.
Table data
The node and pipe tables show calculation results in tabular form. Take care to
make sure that the values are reasonable.
Modelling
NetSim version 3 is the graphic tool for managing your calculation models in the
NetSim model database. Below is a description of the menus and forms which
you will find in NetSim 3. Some forms with a central function, e.g. the
calculation form, are described in detail, while other forms of more “peripheral”
significance are described in more general terms. In general:
forms and windows include a right-click menu with functions.
double-clicking in the leftmost column of the grid forms opens detailed
forms for the record if there are any detailed forms for the grid form.
forms and toolboxes can be positioned in any location by the user.
changing data can be undone
copying (Ctrl+C/Ctrl+V) between cells in the forms is permitted if the
value pasted in is copied from the same column.
if multiple users are logged on to the same database simultaneously, the
last value saved is valid.
Calculation. The calculation module in NetSim is started directly from the menu
under Modules, automatically by NetSim when data is exported from the form
Calculation to the calculation module, or directly from the explorer by enabling
a calculation file from NetSim.
You can reach associated calculation results directly from the calculation
module.
User interface
The NetSim program window includes the above blocks in the basic configuration. A graphic window in
which the network map is displayed, a menu, a list of toolboxes, a form with tabs which contain model data,
a form with tabs which contain system data, and right-click menus. You have plenty of freedom to move the
blocks, create separate blocks, dock and lock and hide blocks, change the order of columns, etc. as you
wish. Strictly speaking, only the menu, map window and status list are fixed. You can always return the
appearance to its original mode by selecting a command under Help in the File menu. Take the opportunity
to adapt the appearance so that it suits you best! It is a good idea to create your own “toolbox” in which you
have your own shortcuts to the most common commands; see the paragraph describing Graphic window for
more details.
Detailed form for pipe. You can access all data applicable to the pipe here!
If you select a value from a drop-down list, you can restore the field to an “empty field” by selecting the
“empty” value in the list or deleting the content in that field.
Graphic window
The graphic window in NetSim is a CAD component which shows the pipe network in the selected model
with the correct coordinates. The coordinate system is an arbitrary orthogonal system where the y-axis is of
north and x-axis is of east.
You can use map files, schedules, etc. in DWG/DXF format as backgrounds to the pipe network. These
backgrounds may also include graphics as orthophotos.
You can create pipes in and delete them in the graphic window. Points and opens the forms in the database.
You can save the network image from the graphic window in DWG/DXF + a number of raster formats and
print out all or parts of the network to an optional scale.
You can use the layer properties manager under Color tab under the tools ribbon in the menu to select
colours and line widths in the map screen for the best display of the pipe network.
Copy...
This function allows you to make an identical copy of your current model. A
dialog box opens in which you give this copy a name. In the copy, you can
change most things in relation to the master without changing the master. See
section Model management
Delete...
You can use this function to delete your current model from the model database.
A dialog box opens where you can select whether you want to delete the model
or cancel the function.
Import
The Import calculation file function allows you to import a calculation file (see
section Calculation module's input data file). The file can be a “complete”
calculatable calculation file or a file just containing definitions of the geometry
for the model, e.g. manufactured from a CAD file or exported from a network
information system. The import adds information to the model and does not
need to be a complete model. You must observe what names pipes and nodes
have in the import file in relation to which names you use for pipes and nodes in
the model database to which you are importing. If nodes/pipes exist with the
same names in the import file and the database, the node in the database receives
the coordinates which it has in the import file. Likewise, the pipe in the database
is given the geometry which it has in the import file.
An import file cannot fully build up all boundary conditions in the model
database. For e.g. pumps, any reference value to which the pump is regulated
cannot be set up by the import function. This has to be added manually to the
model after importing.
Calculation...
The calculation is configured and enabled in the calculation form.
Load factor: A given value in node, flow or power is multiplied by
the factor in the input data for the calculation module.
Heat loss factor: A given value for the pipe types' heat loss factor
(W/m°C) is multiplied by the factor in the input data
for the calculation module.
Headers 1, 2 and 3: These texts pass out in input data to the calculation
module and on to the results files.
Steam system, Annual run: Select whether the model relates to a network for
steam and condensate, a district cooling network, if
the calculation is to be executed as an annual run, or
if only the supply pipe is to be calculated.
Outdoor temp.: Enter the outdoor temperature for which factors for
power, cooling and return temperature are to be
calculated when updating nodes from customer data.
This value is also used when determining the supply
pipe temperature from the production plants.
Enter search path: This field displays the search path and filename for
the latest calculation file. Click to change / filename.
Import all...
This function opens a file opening dialog box where you select which customer
data file is to be imported. This function creates, in the model, the customers in
the customer data file which are not included in the model and replaces
information for all customers which exist in the customer data file and in the
model with information from the customer data file. Customers which exist in
the model but not in the customer data file are not affected.
Copy customers...
This function copies customer data between models in the database. This
function opens a dialog box where you select the model from which you have to
copy data to the current model. You select whether all data on the customer is to
be copied, i.e. if consumption and coupling to nodes are to be copied or if just
consumption data is to be copied (see the section entitled Consumption data).
Delete customers...
This function is used to delete all customer data from the current model.
Customer information for other models is not affected by the function.
Save as...
You can save the model to a file in a range of vector and raster formats such as
DWG, DXF, DGN, JPG, TIFF and PDF.
Print..
This function opens the print manager. You can select a printer, paper format,
print scale, print range, etc.
Exit NetSim
This function closes NetSim.
Options
The size of the zoom box (metres) controls how large an areas is to be displayed
in the graphic window when you zoom into nodes and pipes.
The sizes of nodes and other items are also set here. If you have problems with
snapping to nodes, you can make the setting a little larger (perhaps 2 %).
You can set at which zoom level nodes are shown. Try out what seems
reasonable… 200 or 2000, perhaps.
Autozoom according to the highlight. Select this if you want to zoom directly
into a node or pipe as soon as you have highlighted it in the grids. This is an
effective tool in combination with an appropriate zoom box size.
Language. Swedish is the default, but you can switch to English.
An Analyse search path is specified here. The search path under which Analyse
is normally installed is preset.
Help
Online manual opens the manual in the browser.
Team Viewer. Starts online support with Vitec Energy. Contact one of the Vitec
Energy consultants and agree on a time so that they can provide you with
instruction or control your NetSim remotely. You submit your ID and password
as shown in the dialog box. An Internet connection is required!
Home Tab
Zoom
Window
A classic function where you can zoom into part of the network.
To Extent
A function which ensures that the entire network is visible. It may be useful to
use this if you want to return to a kind of “start level” if you have zoomed in.
To node
If you have selected a node in the node list, you can select Zoom node in order to
centre it in the map and zoom in on the node.
To pipe
If you have selected a pipe in the pipe list, you can select Zoom pipe in order to
centre it in the map and zoom in on the pipe.
Previous
You can use Zoom previous to go back one step at a time to the zoomed-in
“screen” which you saw previously. You can go back several steps.
Pan
You can use Pan to take hold of the entire map by holding down the left mouse
button, and you can then drag it in any direction without changing the degree of
zoom. You can exit this command by pressing Esc or clicking on the command
again.
Modules
Calculator
This allows you to open the NetSim3 Calculator separately. The main use for
this is to open calculations files sent from another database or with manual
changes done after the .netsim file has been created
Calculation
Starts the calculation module's settings form with the last model calculated
preselected. You have the option of choosing another file or calculation type or
opening the control files created by the calculation module.
Analyse
Starts Analyse with the last calculation data.
Data management
Show selection
If you have selected an area or selected pipes and nodes, you can select Filter in
grid and so view them in the node list or pipe list. E.g. you can then choose to
export to Excel. Note that you have to create two exports, one for the node list
and one for the pipe list.
Note that nodes can be filtered out only when you have zoomed into the map
sufficiently.
Show on map
When you select one or more nodes and/or pipes in the grids, you can see where
they are in the map. Select Show selections on the map when you have finished
making your selections in the node and pipe grids. You can select more if you
hold down Ctrl while left-clicking at the same time.
Tools Tab
Backgrounds
Load
This function allows you to add one or more maps as backgrounds in the graphic
window. Purge the background map beforehand if you are using a heavy file.
Color
Background
Opens a dialog box where you select a background colour for the graphic
window.
Layers
Opens the setting dialog box for layers in the graphic window. Here, you can
influence which colours and line widths which NetSim uses for pipes and nodes
and flags.
Here, you can also influence presentation of the backgrounds which you
imported into NetSim.
Layers also lets you show or hide the different text options shown below.
Text
A function in NetSim involves now placing text on nodes and pipes. When you
have selected the items for which you want text, you edit the text style, size and
colour in order to view this in NetSim.
Under Style Name, select the various layers for which you want text. Set the
Font, height, etc.
Before this takes place, you have to have decided which pipes are to be main
pipes, level 3. This is most important if you have pipes with smaller dimensions
which are main pipes.
Trim Model
This function reduces the number of pipes with similar properties in a model.
Set the lengths and the differences in internal diameter and thermal conductivity
which are to apply to the pipes. Then press Prepare followed by Run.
This can be done several times as it only checks two pipes at a time.
Report
Select the report to be run for the current model.
The report's results are displayed in a grid which you can export to Excel or copy
to the clipboard.
Reports in the present version are:
Node form
The grid form for nodes shows all nodes in the model. Here, you can switch the
name of the node, enter powers/temperatures, etc. The node highlighted in the
form is indicated in the map screen. The node form is also displayed with a node
highlighted when you highlight a node in the map.
The map screen includes the command Zoom node which centres the map screen
over the highlighted node in the grid form. Besides the general functions, the
right-click menu in the form includes the command Display customers which
opens the customer form filtered using the highlighted node name.
The menu includes the command Zoom pipe which centres the map screen over
the highlighted pipe in the grid form.
Double-clicking in the row
number column opens the
detailed form for the selected
pipe. This detailed form
displays all information which
can be given to a pipe.
Level: the pipe can belong to
service (1), distribution (2) or
main pipe (3) level. Levels
must be selected so that 3 must
form a coherent hydraulic
network, level 3 + level 2 must
form a coherent hydraulic
network, level 3 + level 2 +
level 1 must form a
hydraulically coherent
network. (see production
plant form and menu
Calculation).
Local dimensioning criterion:
for every pipe to be
dimensioned, a local
dimensioning criterion can be specified which replaces the global dimensioning
criterion (see Calculation menu). Select whether this criterion is to be applied to
the supply pipe, the return pipe or both pipes, as well as values for velocity,
gradient and max. diameter (see also the keyword *LDIM).
Optional: the pipe is not included in reports for length and volume.
To create a new plant in the model, select Create new in the right-click menu.
This opens a detailed form.
Give the plant a name
or select an existing
plant from the list at
the top right. Connect
the plant to a node, the
icon to the near right of
the field retrieves the
node highlighted in the
map. The adjacent icon
shows the selected
node in the map. You
should place the plant
at the end of an
“appendix pipe”. No
other values, i.e.
powers, temperatures,
shunts or bypasses, are
to be specified in the
node in which where
you place the plant!
Enter either power or flow, enter supply pipe temperature. Enter a pump type
and pressurisation of the network, where necessary. The fields max. and min.
power are only information you provide so as not to define the plant outside its
working range. In the model, there but be one and only one plant for every
separate hydraulic circuit without a specified power or flow. Likewise, in a
model for every separate hydraulic circuit there must be one and only one plant
with data for pressurisation of the model (static pressure). It is possible in the
grid form to link a temperature curve to the plant (see section Temperature
curves under System data form).
Pump form
The grid form for pumps includes all pumps in the model. In this form, you have
a direct overview of how the pumps are set in the model. In the map screen,
select the pipe in which the pump is located when you highlight the pump in the
grid form. The data which you enter for a pump relates only to the current
model. Thus the same pump can be used in several models with different
settings!
Some of the columns include “drop-down” icons which are disabled. These
values can be changed instead in the pump's detailed form which you open by
double-clicking in the row number column at the far left.
To create a new pump, select Create new in the right-click menu.
Give the pump a name or select an
existing pump from the list at the top
right. If a pump type is to be entered,
select the type from the list. The pump
belongs to the pipe and can relate to a
pressure change in the supply pipe,
the return pipe and both the supply
pipe and the return pipe. Therefore,
you must enter values for both the
supply pipe and the return pipe.
This pump lifts both in the supply and
the return pipe, The pump's lift is
unknown, and therefore the fields in
head supply and head return is empty.
The pump is controlled to maintain a
150 kPa differential pressure in node
S3 (select type of reference value).
Quota S/R is set to 70% which means
that 70% of the total lift is taken in the
supply pipe and 30% in the return
pipe. The pump is located in pipe F4-
F5, adjacent to node F4. The icon at the near right of the pipe name field is used
to retrieve the pipe which you have highlighted in the map screen, while the icon
to the right of this indicates in the map screen the pipe you selected. The icon to
the right of the reference value node also retrieves the node which you highlight
in the map and the icon to the right of this indicates in the map the node you
selected. Max. pump lift and mass flow are items of information sent to the
pump control function in Analyse. These values do not restrict the work of the
pump in the calculation, but in Analyse they provide information on whether the
pump is operating beyond its actual capacity.
If the pump lift is determined, you cannot give a reference value. In this instance,
enter no setpoints as the reference value type. If you select a pump type and enter
a speed, the pump lift is determined via the characteristic for the pump type. In
this case, the field for lift must be empty and the reference value type must be no
reference values. See also the section Pressure regulations – pumps and valves.
Although in many cases it is valid, it is in most cases preferable to locate the
pump next to node 1 in the pipe. Further, if a pump lift is defined in both the
supply and return of a pipe, pumping may not be placed in adjacent pipes.
Accumulator form
You create a new accumulator by selecting Create new in the right-click menu.
Give the accumulator a name or select an existing one from the list at the top
right in the form.
Nom. power [kW Nominal power consumption. If this the value is left
undetermined, the power balance in the network
determines whether the accumulator is loaded or
emptied. (N.B. the powers of all production plants
must then be specified.) If a value is specified (with
characters), the accumulator works with this value
during the calculation (N.B. a production plant in the
model must have an undetermined power). A positive
given power acts like the accumulator is storing,
while a negative power acts like the accumulator is
unloading energy.
Thermal coeff. (kW/°C): Heat loss factor which, when multiplied by the
difference between the accumulator's average
temperature and the ambient temperature, gives the
accumulator's heat loss power in kW.
Ambient temp. (°C): The ambient temperature against which the
accumulator's
heat losses are calculated.
Min. temp. (°C): Minimum temperature in the accumulator at the start
of the
calculation.
Max. temp. (°C): Maximum temperature in the accumulator at the start
of the
calculation.
Average temp.: (°C): Initial average temperature in the accumulator at the
start of the calculation.
Customer form
The grid form for customers differs from other grid forms insofar as all data for
the customer is displayed in the grids. This is mainly out of consideration for
exporting to Excel.
When you create a new customer, first select the which is the customer's level 1
placement. In the customer form, then select Create new. This opens a detailed
form with which you create the customer.
Enter a facility_ID, enter a value in at least one of the fields customer ID,
customer, property designation or address.
Enter a relevant category figure (h)
Click on the icon at the near left of the node level 1 field to retrieved the
highlighted node's name for node levels 1, 2 and 3.
Enter values in the fields for power, consumption, cooling and return
temperature. Type 0 (zero) in the fields for which you do not enter values. Select
a customer type for power, cooling and return temperature. Then save the
customer. You can then edit all data for the customer in the grid form.
Pipe types
As a minimum, enter a name (max. 25 chars recommended, must NOT include
blanks), internal diameter (mm), roughness index (mm) and thermal conductivity
(U value, W/m°C) for the pipe type.
Valve type
The characteristic for a
valve type is defined in
the form. The
characteristic is specified
as an opening degree 0 –
90° from fully closed and
corresponding capacity
value Kv (tonnes/h)/bar½).
I.e. 0° indicates a fully
closed valve and 90° a
fully open valve. The
characteristic can be
specified using up to 10
points. When a valve type
is linked to a valve, you
specify the current opening degree for the valve; and the pressure drop across the
valve is then calculated on the basis of the given characteristic.
You can provide further details for descriptive information on the valve type,
e.g. make and model type.
In ascending order with regard to outdoor temperature, enter the factor by which
the customer's power, return temperature and cooling is to be multiplied in order
to adapt the value to a given outdoor temperature (load case). The calculation
form specifies an outdoor temperature for the load case, and use the curves
above to sum customers' power/cooling/return temperature to the nodes.
Temperature curves
You can define the temperature programs for production plants here.
In ascending order, enter the outdoor temperature and, for the outdoor
temperature, the corresponding supply pipe temperature.
In the Production plants form, select which temperature curve is to be used for
the plant. When load cases are specified in the calculation form, a function
retrieves a supply pipe temperature for the load case from the specified curve.
Enter the “breakpoints” in the time series In the calculation, values for
intermediate times are interpolated from the given values.
The calculation module in NetSim is started directly from the menu under
Modules, automatically by NetSim when data is exported from the form
Calculation to the calculation module, or directly from the explorer by enabling
a calculation file from NetSim.
Model file: this field displays the file selected for calculation: You can use the
file selector on the right to select a file for calculation, and use the adjacent
review icon to open the file in Notes for review/editing (see the section entitled
Calculation module, input data file).
Results directory: the directory where the results from the calculation are saved.
Calculation type: You can switch the calculation type between stationary and
dynamic calculation. If you select dynamic calculation, you have to select a time
series file using the file selector on the right. You can also open the time series
file in Notes using the icon at the far right.
Time series calculation: In the case of dynamic calculation, you have to enter a
start time, time step length and number of time steps (see the section entitled
Dynamic simulation).
Calculation status: The calculation status shows the progress of the calculation.
Result: You can use the icons on the right to open the text-based results file
(.OUT), the control file (.CHK) which shows any errors in input data, and the
file containing selected dimensions for pipes which are to be dimensioned
(.PTY).
You can use soft and quick stop functions to cancel simulation in progress with
or without printing the results. You use these functions in cases in which
simulation does not appear to converge.
File types
Input data for the calculation module is:
Simulation_name.netsim Keyword.
Simulation_name.lmt XML file. Limits for pumps.
Simulation_name.cf1 Time series for dynamic calculation.
Dockable windows
As in NetSim, you can take hold of a tab and drag it out to a separate window or
dock the tab to another window. Try it to see how it works! Remember, you can
restore the appearance using Reset docking state!
Map
A map of the pipe network is created in the Map tab from the geometry
description in the results file. A map background in DWG/DXF format can be
loaded as a supplement to this screen. Selected calculation results and input data
are displayed as “tooltips” when the cursor is moved next to the object. Nodes
are displayed as solid circles (green). Production plants are displayed in red.
Nodes with consumption are displayed in magenta. Pipes are displayed with or
without colours depending on whether or not the results plotting has been
highlighted.
The Map tools panel is opened when you select the Map tab.
Layer settings
Here, you can select whether pipes, nodes, flows and comments are to be
displayed or hidden.
Zoom
This commands can also be found in the right-click menu. Zoom pipe and zoom
node highlight and centre the map over the pipe and node highlighted in Pipe
table and node table respectively.
Pipe settings
Select whether the map is to display results for supply pipes or return pipes.
Enter a value for scaling the pipe dimension (Scale factor for pipe dimension). A
scale factor of 1 displays the pipe without scaling. 100 shows the pipe scaled
with a 100 x dimension. Scaling allows you to see clearly which pipes have large
and small dimensions. Apply your choice by pressing Apply.
Plot limit
Select the value to be plotted in the map. You can choose from flow (kg/s),
velocity (m/s), temperature (°C), pressure (kPa), pressure difference (kPa),
pressure level (kPa) and pressure gradient (Pa/m). Select the Don't show option
if you do not want to display any results, just the pipe network. Select the
number of colours (interval) to be used to display the results. Enter an upper
limit and lower limit for the interval. The maximum and minimum values that
appear in the results file are displayed in brackets adjacent to the fields. For
example, if you specify 3 intervals and set the upper limit to 100 and the lower
limit to 50, all values up to 50 will be displayed in one colour, all values from 50
to 100 will be displayed in the next colour, and all values above 100 will be
displayed with the third colour. Apply your settings by pressing Apply.
Tooltip
Text
Select Add legend and point to the place in the map where you want to position
your legend. If you want to move the legend, tag the command again and point
to the new location. Select Add title if you want to display the headers from the
model. You enter the headers in the calculation form in NetSim. (See also
Legend window).
Route
This function is used to point out a route through the network along which you
can display pressure, temperature and pressure gradient in a diagram. You have
to enter the node at which the route is to start and where it should end. The
routine itself finds the route through the network between the nodes which you
indicated. The routine selects in a branch to follow the pipe with the biggest
diameter. You can control the route which the routine selects by pointing to
nodes which the route has to pass through before you point to the end node. The
route selected by the routine is indicated in the map as you point. Remember,
you can allow a route to pass to an end point and return from there by continuing
to point to nodes. When you have started pointing to nodes with Add node(s) to
route, the routine continues to select nodes as long as you continue to point to
them. Finish pointing to nodes by pressing Esc. You can delete all nodes in the
route by pressing clear route. If you have defined a route, you can add to this
route by selecting Add node(s) to route or delete nodes by selecting Undo select.
The Route function can also be found in the map's right-click menu.
Select object
The select object function, which can be found in the map's right-click menu,
allows you to point to a pipe or node, and if you switch to the tab Pipe table or
Node Table, the data for the selected object is highlighted in the table.
Clear selections
The clear selections function in the map's right-click menu deletes the highlights
in the map which you saw when you opted to display highlighted pipes or nodes
in the map in the Pipe table or Node Table tab.
Create animation
This function creates a slideshow from a time series calculation. See the section
on time series calculations.
Background maps..
You can use this function to add background maps to your calculation. This
function opens a dialog box where you select the map to be displayed. The
format can be DWG, DXF or DGN. The dialog box remains open so that you
can select more maps or delete maps which you have added as backgrounds.
Legend window:
In the right-click menu, you can enable a floating window which shows the
interval limits in the map.
.
Charts
The tab Charts shows, in diagram form, a selected calculation value along the
route through the network which you created in the map. You configure the
diagram using the tools in the chart tools panel and in the right-click menu.
Plot settings
Select which calculation value is to be displayed in the diagram. You can choose
from pressure and pressure level in the units kPa, mvp and bar, Pressure
gradient in the units Pa/m and bar/km and temperature °C. If cavitation pressure
is selected, the limit for cavitation in the supply pipe and return pipe is
displayed. Select Show level if you want to [go via the nodes elevation.
Construction curve 1
Enter a name and value and select whether the temperature in a supply pipe or a
return pipe is to form the basis of density calculation, and there is a pressure
value which you enter. This curve can, for example, show where there is 16 bar
of pressure along the route in a plot of pressure level. Select/deselect Show to
enable/disable this curve.
Construction curve 2
The same function as Construction curve 1.
Right-click menu
You can use the right-click menu to save the diagram to a file/cutout in a range
of formats/printers. Check the scaling of the diagram axes, enable/disable grids
in the diagram and adapt colours and styles for the curves.
The bottom right-hand corner of the diagram shows the time step from which
the results are displayed. The total number of time steps included in the
calculation. If the calculation includes more than one time step, you can select
time steps using < >.
Node table
Node table displays all calculation results for the nodes in a grid.
You can filter and sort in the grid and copy data from there to Excel. You can
move the columns so that the sorting suits your needs. Take hold of a column
and drag it to the right or left to move it. The table tabs are sorted by double-
clicking the table column headers. You can enable/disable columns by right-
clicking in the header row.
In the right-click menu, you can opt to view a node in the map, select Show on
map. Make sure that you have clicked on Map to load it beforehand. You can
select several nodes in the table by holding down Ctrl or Shift. You can select
single or multiple rows by pressing Shift/Ctrl and use the clipboard to copy to
text or an Excel file by pressing Ctrl+C / Ctrl+V.
You can search on node names with the right-click menu.
The filter function can be used to filter values less than, greater than, between
limits and beyond limits.
The bottom right-hand corner shows the time step from which the results are
displayed. The total number of time steps included in the calculation. If the
calculation includes more than one time step, you can select time steps using <
>.
Pipe table
Pipe table displays all calculation results for the pipes in a grid.
You can filter and sort in the grid and copy data from there to Excel.
The bottom right-hand corner shows the time step from which the results are
displayed. The total number of time steps included in the calculation. If the
calculation includes more than one time step, you can select time steps using <
>.
The table tabs are sorted by double-clicking the table column headers.
The filter function can be used to filter the selected column in the table.
In the right-click menu, you can opt to view a pipe in the map, select Show on
map. Make sure that you have clicked on Map to load it beforehand. You can
select several pipes in the table by holding down Ctrl or Shift.
The right-click menu also includes a search command which searches on pipe
name. You can select single or multiple rows by pressing Shift/Ctrl and use the
clipboard to copy to text or an Excel file by pressing Ctrl+C / Ctrl+V.
You can move the columns so that the sorting suits your needs. Take hold of a
column and drag it to the right or left to move it.
Out
The tab Out shows input data for the calculation and calculation results for
nodes, pipes, pumps, production plants, etc. The pipes dimensioned by NetSim
can also be found here, as can a cost calculation if this has been specified in the
calculation. The min/max. values for nodes and pipes appear at the bottom of the
screen.
The dimensioned pipes are only suggestions and must be entered in NetSim to be
applicable.
Animation
The tab Animation shows the results of a dynamic calculation in graphic format,
a time series calculation. You can simulate a cold plug or show what it looks like
when you load the network. If you have to execute a time series calculation, you
Model management
General
The definition of the hydraulic network to be calculated is summarised under a
model name in NetSim. This means that the pipes and nodes, production plants,
pumps, etc. to be included in the network all have data in the model which has to
be calculated. In NetSim, the description of nodes, pipes, etc. is divided between
two types of data table , object data tables and model data tables. Names,
coordinates, lengths are registered in the object tables. Connections between
objects (pipe–node, pipe–pump, etc.), operating data, e.g. power, cooling, lifting
height, pipe dimension are registered in model data tables.
Model concepts
A model in NetSim is made up of:
A network geometry - a number of pipes connected to one another in
nodes
Boundary conditions - Values for pressure, flows, powers and
temperatures which are given to nodes and pipes. These values can be
given directly to the pipes and nodes, but also be applied to these
indirectly via other objects such as pumps, production plants, etc.
Calculation parameters such as general load factor, ambient
temperature, etc.
In NetSim, all objects such as pipes, nodes, pumps, etc. are collected in the same
database and the model constitutes, in the actual sense, the “linking” of the
above data which has taken place under a model name in the database. This
means that one and the same object may be included in several models in the
database. Regarding the objects as actual physical objects which can be assigned
different properties in different models makes this easier to understand.
Objects in the database are identified by an internal ID and a unique name. This
means, for example, that two pipes in two models with the same name are one
and the same object but with two sets of attributes. A set of attributes in either
model.
Models can be of two different types, normal mode or planned mode.
In the database, it is assumed that a model of a pipe network describes normal
mode. This model is assigned normal mode type in the model form. All other
models which include nodes and pipes from this model are planning models and
are assigned planning model type.
When an object, node or pipe is present in two models and the object is deleted
in one of the models, the object disappears in this model only. The object
remains in place in the other model. The object is also deleted from the database
only when the object appears in only one model.
Model-specific data
To be able to operate NetSim correctly, it is crucial to understand how the
program differentiates between data which is object-specific and data which is
Objects
In NetSim, “objects” refers to pipes, nodes, production plants, accumulators,
heat exchangers, pumps and valves. The object has an internal ID which is
hidden from the user and a name which is unique within the object type. I.e.
there is e.g. only one pipe with the name P1189, but there could well be a node
with the same name! A range of information is linked to each object
individually, and a range of information is linked to every object's occurrence in
a model.
Model
A model in NetSim connects pipes and nodes to a network, and the other object
types are connected to this network.
Example:
You create a copy of a model, and in this copy you switch the pipe type
in a pipe. In the original model, the pipe still has the same pipe type as
before.
You want to place a pressure increase station in a pipe in the copy. You
can then choose to place in the pipe a pressure increase station which
you previously created in another model. Either pressure increase
station then has its own data in the two models.
You delete a pipe in the copy. The pipe remains in place in the original
model.
You create a new pipe in the copy. The new pipe appears only in the
copy, no other model.
A range of data which controls the calculation process and results also belongs to
the model.
Directory data
Pipe types, pump types and customer types are all examples of directory data.
Summary: object data - model data
Copy a model
This function is used to create, under a new name, a complete copy of the model
you choose to copy. In this copy, you can add/remove pipes and nodes, change
pipe dimension, change load cases, production, pumpings, etc. without affecting
the master for the copy. What you should not do if you want the master to
remain untouched is change the geometry (lengths and coordinates) of pipes and
nodes which are the same in the two models!
Connect to the database (Menu → File → Connect database )
In the File menu, select Model Copy.
Give your model a name in the field. The name must include no more than
255 characters, but we recommend that you keep your descriptions a little
shorter than that!
The current model is copied and created when you press OK!
If you use the Cancel button, no copy will be created.
Select your new model as the current model in the Model toolbox.
Delete a model
You can use this function to delete a model from the database.
If you delete your current model, you should connect to the database again and
select a model in order to update information in graphics and forms.
Connect to the database (Menu → File → Connect database )
In the File menu, select Model Delete.
Your current model is preselected. Confirm by pressing the Yes button, or
cancel by pressing the No button.
Pressure regulations – pumps
and valves
In our experience, pressure regulations in the form of pumps and valves are the
area which users generally find hardest to review! The effect of all pressure
controls over the entire network needs to be taken into account, and the user has
to provide sufficient boundary conditions for the degrees of freedom introduced
to every pressure regulation.
Example
The table below shows a number of combinations of locations of pumps and
valves in one and the same pipe with and without reference values. * in a field
means that the value is calculated.
(*) Location 0 : located in both supply pipe and return pipe, 1: located in
supply pipe, 2: located in return pipe
Reference values in nodes: If a number of reference values have been given in a
case, these may relate to the same or different nodes. It is important to note that
pressure regulations take precedence over a given reference value.
PIPE NODE PUMP VALVE
Supply Return Setpoint
Node 1 Node 2 Node 1 Node 2 Supply Return revol. (rps)
Quota Location Location Opening
Case ΔP kPa ΔP kPa ΔP kPa ΔP kPa (S/R) P kPa P kPa ΔP kPa 012 Supply Return 012 deg.
A 0 0 0 0
B 200 0 0 0
C * 0 0 0 300
D * 0 200 0 300
E * 0 * 0 0 20 15
F * 0 * 0 300 0 * 20
F2 * 0 0 * 300 0 * 20
F3 * 0 0 * 300 2 20
F4 * 100 0 0 300
G * 0 -200 0 300 1 *
H * 0 * 0 1000 500 1 *
I * 0 * 0 1000 500
J 0 0 * 0 2 5
K * 0 * 0 0 5
L * 0 0 * 300 1 * 2 5
M * 0 * 0 50 300 0 * *
E: Identical pumps in the supply pipe and the return pipe at node 1 with
different speeds. Lift in respective pipe function of speed
F: Identical pumps in the supply pipe and the return pipe at node 1 with
different speeds. Lift in return pipeline function of given speed. Lift in
supply pipe is calculated so that DP in reference value node is 300
kPa. The speed is calculated.
F2: Invalid! Identical pumps in the supply pipe and the return pipe, but
located at either end of the pipe!
F3: Pump at either of the pipe in supply and return. Supply pump lifts so
that DP in reference value node is 300 kPa. Speed is NOT calculated!
Return pump operates at set speed.
F4: Pumping at both ends of supply pipe. One pumping set to 200 kPa, the
other calculated so that DP in reference value node is 300 kPa. NO
PUMP CURVES can be utilised!
M: Pumpning in the same end of pipe in both supply and return side of
pipe. The total lift in supply + return is calculated so that DP in
reference value node is 300 kPa. Pump speed is calculated. The total
lift is divided between supply and return side according to the Quota
given for the pumping.
G: : Pump in supply pipe at node 1, lift is calculated so that DP in
reference value node is 300 kPa. Valve in return pipe throttles 200
kPa
L: Can be resolved if pump and valve are located at either end of the
pipe! Pump in supply pipe at node 1, lift is calculated so that DP in
reference value node is 300 kPa. Valve in return pipe open 5°
This module in NetSim allows you to convert the contents of a DWG file to a
calculation model in NetSim. The DWG file must be designed according to a
few simple rules so that it can be interpreted. This module includes tools which
you can use to edit/create the file to be interpreted. This module is an additional
function to NetSim and can be ordered from Vitec.
Drawing style
Pipe:
A 2D polyline or 3D polyline. All pipes which connect to a T-piece must be
broken up in the T-piece. (Only 2D information from a 3D polyline is utilised.)
Elevation:
A text string (Single line text). Values are stated in metres. Decimal points must
be used as decimal separators. Any leading text, e.g. z or equivalent, is ignored.
If elevation is not given at the pipe end, this is set to 0. The interpreter reports
which nodes have no elevation.
Pipe type:
A text string (Single line text). Max. 80 characters. The string must not contain
blanks. Check that NetSim includes the pipe types occurring in the drawing
before you interpret it. The interpreter selects an existing pipe type from the
NetSim type directory if the type is not present, and replacements are displayed
in a report.
Node name:
A text string (Single line text). The node name must not contain more than 8
characters. If you enter a node name which already exists in NetSim, the name
will be replaced with errorN, where N is a serial number. A check is carried out
in NetSim to ensure that N is greater than any N values which may occur in
nodes in NetSim called errorN. As a consequence, the interpretation does not
create a node with the same name as an existing node in NetSim. No symbol is
needed for the node per se, this is created during interpretation; but your work
will be easier if you place a circle at the point where the node should be!
Pipe name or Prefix to pipe name:
A text string (Single line text). Max. 8 characters. Note that if a prefix is used,
the total number of characters for prefix + lettering must not exceed 8. If a prefix
is used, the pipes will be lettered consecutively within the prefix. The name is
checked in the database in order to prevent duplicates. If you set a pipe name in
the drawing which already exists in NetSim, this name is replaced by errorN,
where N is a serial number. If you use a prefix, the letter is listed by the pipe
names that exist with this letter in the database. As a consequence, the
interpretation does not create a pipe with the same name as an existing pipe in
NetSim.
Place the node name and elevation adjacent to the ends of the pipes.
Place the pipe name and pipe type “in the middle of” the pipes. Remember that
the insertion point of the text is the point to which the distance is measured.
Interpretation
Start the interpretation module from the NetSim menu File-Importera DWG
[Import DWG.
Open the file to be converted.
I
n
t
h
e
I
g
n
orera [Ignore column, you have to select the layers in the drawing which do
NOT contain data to be processed.
Select which layer/layers includes/include the pipe geometry (polylines).
Select which layer/layers includes/include node name (TEXT), pipe name
(TEXT), pipe type (TEXT), Z level (text).
Naming methods and prefixes
INTERPRETATION
Interpretation starts when you enable the Tolka [Interpret button.
The drawing is analysed and a log opens when the process is complete.
Interpretation has created a model which has the same name as the drawing
which you interpreted.
Analyse the log. If it contains a “lot” of comments. Correct the drawing, save
the drawing and close the drawing interpreter. Delete the model created and
reopen the drawing in the interpreter. (If you do not delete the model, the pipes
Customer data can be imported to the NetSim database via an ASCII file in a fixt
format.
All data belonging to a customer (a record in the import file) is given in one and
the same row, and all fields have to be separated by the character ¤ (ASCII
character no. 164).
Every record (row) must contain 29 fields. If the last field Memo and the field
separator ¤ are omitted between the 24th and the 25th field, the value 0 is
recorded in the Memo field. The fields must be entered in the sequence shown in
Figure 1 below. There must be a value in fields marked NOT NULL. Other
fields can be left blank.
In fields with data type VARCHAR2, alphanumeric text strings can be entered
with a maximum number of characters as stated in ( ). In fields with data type
NUMBER, only numerical characters can be entered with a maximum number of
characters as stated in ( ). NUMBER(15,3) means that 15 digits can be entered in
the field, of which 3 are decimals. NUMBER(2) means that figures between 0
and 99 will be accepted. See also section Input data in general below.
Example, Figure 1:
2250¤12250¤ACME AB¤Kv Bofinken 4¤Trastvägen 3,
Solna¤2250¤LA102¤LA102¤1¤22¤7¤37¤1700¤2007-09-
02¤256¤1.222¤191¤0¤3368¤0¤50¤46¤0¤0¤New customer¤¤¤¤¤
When updating nodes with consumption from customer data, all customers' loads
are summed to the node to which the customer is related. The resulting cooling
or return temperature written to the node is a weighted average value for all
customers connected to the node. The update affects the active model only.
1. FACILITY ID: The unique code which identifies the customer and
the location. NULL: No. VARCHAR2(40).
2. CUSTOMER ID: The code which identifies the customer, may differ from the
plant ID.
5. ADDRESS: Address.
6. NODE LEVEL 1: The node to which the customer belongs in the model in
level 1. The node must belong to the model.
7. NODE LEVEL 2: The node to which the customer belongs in the model in
level 2. The node must belong to the model.
8. NODE LEVEL 3: The node to which the customer belongs in the model in level
3. The node must belong to the model.
10. CUSTOMER TYPE POWER: Enter a number for a type curve. Type curve 1- constant
factor 1.0 is preinstalled. Controls which type curve is to be
used for the customer for power requirements. If the specified
curve is note present, a new curve is created with factor = 1.
11. CUSTOMER TYPE COOLING: Enter a number for a type curve. Type curve 1 - constant factor
1.0 is preinstalled. Controls which type curve is to be used for
the customer for cooling. If the specified curve is note present,
a new curve is created with factor = 1.
12. CUSTOMER TYPE RETURN TEMP.:Enter a number for a type curve. Type curve 1 -
constant factor 1.0 is preinstalled. Controls which type curve is
to be used for the customer for return temperature. If the
specified curve is note present, a new curve is created with
factor = 1.
14.PERIOD: The export from customer data may include information on the
period from which the details are taken. NULL: No.
VARCHAR2(30).
22. AVERAGE RETURN TEMP.: The customer's average return temperature, degrees C.
23. AREA/VOLUME: Area or volume (m2 or m3). When summing customer load to
nodes, the value is converted to kW (1:1).
REG. DATE (TODAY): Not specified in import file. This field shows when registration
took place in NetSim. The field is completed automatically with
system's time specification regarding when the import took
place.
26POSTAL ADDRESS: Postal address for when the notification function is used.
27. NOTIFICATION 1: The customer's name for when the notification function is used.
28. NOTIFICATION 2: The customer's name for when the notification function is used.
29. NOTIFICATION 3: The customer's name for when the notification function is used.
Summing of area/volume:
Summing of cooling:
Factor-controlled power
The function “Factor-controlled power” means that when power and cooling are
summed from customer data to the nodes in the model, a temperature is specified
as a parameter. The temperature specified is the outdoor temperature for the
current load case. Every subscriber is allocated a type which corresponds to a
type curve. This type curve specifies for different outdoor temperatures the
factor by which the customer's nominal power has to be corrected in order to
Factor-controlled cooling
Information on average cooling over the period to which the information applies
(normally one year) is stored for the customer in the customer data register. The
function “Factor-controlled cooling” means that when power and cooling are
summed from customer data to the nodes in the model, a temperature is specified
as a parameter. The temperature specified is the outdoor temperature for the
current load case. Every subscriber is allocated a type which corresponds to a
type curve. This type curve specifies for different outdoor temperatures the
factor by which the annual average cooling has to be corrected in order to attain
the normal cooling in this operating case. See the example in the diagram below.
The program which sums the load from customer data interpolates/extrapolates
from the curve the factor applicable to every type for the temperature specified
as a parameter on summing.
We assume that the customer type, viewed from this angle, will not be registered
previously in the customer database. Therefore, every customer must be assigned
customer type 1 on import. This customer typ 1 is a linear curve with the factor
value set to 1.0 and is predefined in the table.
Factor-controlled return temperature
If we assume that the return temperature recorded is the annual average return
temperature, we can utilise the customer type above in the same way as the
factors for cooling. We assume that the customer type, viewed from this angle,
will not be registered previously in the customer database. Therefore, every
customer must be assigned customer type 1 on import. This customer typ 1 is a
linear curve with the factor value set to 1.0 and is predefined in the table.
Summary
The calculation module's input data file can be used by an experienced user to
directly create input data for the calculation module and define more complex
boundary conditions than is possible in the database.
The input data file is based on a concept involving keywords combined with
plain text. It can be created manually using an editor or from a NetSim database.
The editor's only restriction is that the input data file must be saved as an ASCII
file. Of course, you can use an input data file created by NetSim as a master and
manipulate this in a editor.
Data format
The input data file contains keywords. Every keyword is linked with a specific
number of figures and text strings. Keywords, figures and text strings can be
input freely, with the exception of the following rules:
The order of the keywords is not free. A keyword which refers to another
keyword must be defined after the primary keyword. An example is the pipe
keyword which refers to the names of nodes. This is why the pipe keyword has
to be placed after the node keyword.
Summary: keywords
All input data for the calculation module can be entered with the following
keywords:
- Accumulator *ACCU
- Stop input data *STOP
- Dimensioning *DIAM
- Flow factor *FFAC
- Supply/return *FORW
- Implicitly defined pressure tank *PSUB
- Node *NODE
- Pipe *PIPE
- Local pipe dimensioning *LDIM
- Ambient temperature *ATMP
- Pump, booster or regular *PUMP
- Pump administration *PQTA
- Shunt valve *SHNT
- Simulation cooling *COOL
- Stop criterion *ILIM
- Simulation mode *VERS
- Temperature *TEMP
- Title *TITL
- Pressure loss correction *PFAC
- Water hammer calculation *DYNP
- Valve *VALV
- Heat exchanger located in a pipe *HEAT
- Steam in supply pipe *STEA
- Year simulation *YEAR
Keywords
Keyword *ACCU
The keyword *ACCU is used to define an accumulator in a node.
FORMAT:
*ACCU <NodeID, Tmax, Tmin, Volacc, Hloss, Tini, Ts, Pnom>
Where:
NodeID: Node identification
Tmax: The maximum temperature in the accumulator. (°C).
Tmin: The minimum temperature in the accumulator. (°C).
Volacc: The accumulator's active volume. (m3).
Hloss: A heat loss coefficient which, when multiplied by
the average temperature in the accumulator and the average
ambient
temperature, gives the loss in kW. (kW/°C).
Tini: Initial average temperature in the accumulator. (°C).
Ts: The average ambient temperature. (°C).
Pnom: Nominal power. If simulation is used for
dimensioning of accumulators, Pnom must not be entered, i.e.
9.9999E+30 or “*” must be entered. (kW). If Pnom is positive
energy is stored in the accumulator. If Pnom is positive energy
is delivered from the accumulator. Note that if *COOL is
active you have to think the other way around.
Note that the keyword *ACCU must be entered after the keyword *NODE.
Note that if the node is provided with an accumulator, no other devices are
permitted in the node (e.g. a bypass).
Keyword *ATMP
The keyword *ATMP is to be used to enter individual ambient temperature.
FORMAT:
*ATMP < ledningsid, omgivn.temp>
Where:
ledningsid: pipe identification
omgivn.temp: specific ambient temperature for the pipe. (C)
This keyword can be entered only after *PIPE, where all pipe identifications are
entered. If the keyword is entered earlier, an error message will be received as
the pipe is unknown at this point.
The keyword can be omitted entirely.
Example:
Note that if the option of varying the ground temperature in an annual run is
used, the program ignores the temperature variation in the pipes assigned an
individual temperature via the *ATMP keyword.
Keyword *COOL
This keyword is used to calculate a cooling system instead of a heating system as
normal.
This keyword has no arguments.
Keyword *DIAM
This keyword is used to define the pipe directory used for dimensioning of one
or more pipes. This keyword must come before the pipe keyword.
FORMAT:
*DIAM <krit1 krit2 LIM “typ”
“typ1” d1 v1 k1
“typ2” d2 v2 k2
. . . .
“typ20” d20 v20 k20 >
Where:
krit1: is the velocity criterion in m/s.
krit2: is the gradient in Pa/m.
LIM: is the pipe diameter in mm below which the velocity criterion
and above which the gradient are to be applied.
Typ: The default pipe type is used for a possible flow route
through a ring connection. The dimension is used only when
all pipes in a ring connection have unknown dimensions. In
this case, the type will be specified as “typ” regardless of the
dimensioning criterion. The possible flow route is indicated by
* in the input data element of the printout.
typ1: name of the pipe type (max. 8 characters enclosed in inverted
commas)
d1: the internal diameter for the pipe type (mm)
v1: heat transfer coefficient (W/(°C × m))
k1: roughness for the pipe type (mm)
This list may include up to 20 different pipe types. If fewer than 20 types are
specified, the table must be ended with a “/” (slash).
Note that if e.g. the velocity criterion (1 m/s) is to be used for all diameters,
krit1, krit2 and LIM must be 1.0, * and * respectively. Similarly, if the gradient
criterion of 103 Pa/m is to be used for all diameters, krit1, krit2 and LIM must be
*, 103.0 and * respectively.
Example:
*DIAM Velocity criterion 3.0 m/s
Gradient criterion 1.0 Pa/m
Limit 75.0 mm
Default pipe type “N200”
Type I.Diam v k
-----------------------------------
“N050” 48.7 0.330 0.05
“N100” 89.3 0.350 0.05
“N125” 114.7 0.320 0.05
“N150” 156.8 0.340 0.05
“N200” 189.6 0.550 0.05
“N250” 215.4 0.440 0.05
“N300” 313.4 0.550 0.05
/
Keyword *FFAC
This keyword is used to specify a flow factor. The flow factor is a constant
which is multiplied by all flows and power demands.
FORMAT:
*FFAC <faktor>
Where:
faktor: Constant to multiply by all flows and powers.
If *FFAC is not entered, the value 1.0 is used.
________________________________________________________________
Example:
*FFAC Flow factor : 1.25
________________________________________________________________
Keyword *FORW
When the keyword *FORW is specified, only one calculation of the supply pipe
is executed. If nothing is specified, the program always calculates both supply
and return.
FORMAT:
*FORW
The keyword can be omitted entirely.
Example:
*FORW Only supply pipe is calculated.
Keyword *HEAT
This keyword is used to describe the amount of energy supplied to the system
via a heat exchanger in the pipe. By default, heat supply takes place in a node.
The energy supplied to the system is dependent on the absolute temperature in
the pipe.
The power is defined as:
Power = A + B * T
where A: Constant
B: Constant
T: Temperature upstream of the heat exchanger in degrees
Celsius.
FORMAT:
*HEAT <ledningsid> <ände> <sida> <faktor A> <faktor B>
Keyword *ILIM
This keyword is used to define the stop criterion and relaxation of iteration.
FORMAT:
*ILIM <rlim> <relax> /
Where:
rlim: Relative stop criterion for pressure and temperature
calculations.
Relax Value for relaxation of the iteration.
This figure must be in the range between 0 and 1
A value of 0.8 indicates that only 20% of the difference between two iterations is
utilised.
If *ILIM is not specified, the defaults for rlim and relax are 0.005
and 0 respectively.
Example:
*ILIM Iteration criterion: 0.001
Relaxation : 0.0 /
Keyword *VERS
This keyword is used to affect in what mode the simulation is preformed.
FORMAT:
*VERS <value>
Where:
value: The value is 1 or 2. This value affects a method used during
the simulation. Standard value is 1. Change the value to 2 if
the simulation does not converge to the stopping criteria.
The keyword is given without closing “/”
Example:
*VERS 1
Keyword *LDIM
This keyword is used if there are pipes to be dimensioned with criteria other than
the ones used in global dimensioning, which is described under the keyword
*DIAM.
FORMAT:
*LDIM <“ledningsid”, krit1, krit2, LIM, sida>
Where:
“ledningsid”: The name of the pipe to be dimensioned.
krit1: Max. permitted velocity in m/s.
krit2: Maximum permitted gradient in Pa/m.
LIM: The pipe diameter in mm below which the velocity criterion is
to
be applied and above which the gradient is to be applied.
sida: Is the same as *, 1 or 2 depending on whether both the supply
pipe and
the return pipe, only the supply pipe or only the return pipe is
to be dimensioned.
Note that when this keyword is used, the pipes in question are dimensioned
using the specified pipe types under the *DIAM keyword. If only velocity is to
be used, krit2 and LIM must be equal to 9.9999E+30 or “*”. Similarly, if only
the gradient criterion is to be used, krit1 and LIM must be equal to 9.9999E+30
or “*”.
There is no limit on the number of pipes that can be dimensioned.
Keyword *NODE
The keyword *NODE is used to enter node data.
If a value is unknown, * or 9.9999E+30 is specified.
FORMAT:
*NODE < Nodeid, ntyp, xkoord, ykoord, elevation, flöde, effekt, pframl,
preturl, dp, tinl, tframl, tretur, dt, lambda1, lambda2, pris1
pris2, pris3, pris4> /
Where:
Nodeid : node identification (-)
Ntyp : node type, an integer in the range 1 to 10.
Xkoord : x coordinate (m)
Ykoord : y coordinate (m)
Elevation : node level (m)
Flöde : flow volume through the node (kg/s)
Effekt : power (kW)
Pframl : pressure, supply pipe (kPa)
Preturl : pressure, return pipe (kPa)
Dp : differential pressure (kPa)
Tinl : inlet temperature in supply pipe (C)
Tframl : mixed temperature in supply pipe (C)
Treturl : return temperature (C)
Dt : cooling (C)
lambda1 : reference value for thermostatic bypass (bypass) (C)
lambda2 : diameter for fixed bypass (mm)
pris1: : production price (SEK/kWh). If no production price is to be
If a node includes a bypass, min, power = 0 must be set in the node (no
cooling/return temp.) for the bypass to be exported to the calculation file.
Example:
*NODE
Name : “NODE01”
Node type : 1
X coordinate : 193.23 m
Y coordinate : 201.53 m
Elevation : 22.5 m
Flow : * kg/s
Power : 12.3 kW
Pressure supply pipe : * kPa
Pressure return pipe : * kPa
Differential pressure : * kPa
Supply temperature : * C
Supply pipe temperature : * C
Return pipe temperature : * C
Cooling : 15.9 C
Reference value temperature : * C
Bypass diameter : 10.0 mm
Production price : 0.70 SEK/kWh
COx Price : 1.00 SEK/kWh
NOx Price : 1.00 SEK/kWh
SOx Price : 1.00 SEK/kWh
Keyword *PFAC
This keyword is used for calibration of the pressure losses in the network.
FORMAT:
*PFAC <fac1, fac2>
where the correction factor multiplied by the normal friction pressure loss in the
pipe is:
correction factor = fac1 + fac2 *Diameter(i) m
Where:
fac1 : Constant
fac2 : Constant
If *PFAC is not specified, the defaults are:
fac1 = 1.0
fac2 = 0.0
Example:
*PFAC
Constant term: 1.05
Diameter dep. term: 0.31
Keyword *PIPE
The keyword *PIPE is used to enter pipe data.
If any data for the keyword is unknown, * or 9.9999E+30 must be used.
FORMAT:
*PIPE < ledningsid, Node1, Node2, ledningstyp,
………diam1, u1, ε1, z1, längd1
diam2, u2, ε2, z 2, längd2,
………flöde, dpNode1f, dpNode2f, dpNode1r, dpNode2r, pNode1f, pNode2f,
……… pNode1r, pNode2r, dtNode1f, dtNode2f, dtNode1r, dtNode2r, tNode1f,
………tNode2f, tNode1r, tNode2r, /
xn, yn,> /
Where:
ledningsid : pipe name (-)
Node1 : node name 1 (-)
Node2 : node name 2 (-)
ledningstyp : from pipe type directory
diam1 : internal diameter (mm) supply
u1 : total heat transmission coefficient (W/mK) supply
ε1 : pipe roughness (mm) supply
z1 : individual pressure loss in the pipe (-) supply
längd1 : length of supply pipe (m)
diam2 : internal diameter (mm) return
u12 : total heat transmission coefficient (W/mK) return
ε2 : pipe roughness (mm) return
z2 : individual pressure loss in the pipe (-) return
längd2 : length of return pipe (m)
flöde : mass flow (kg/s)
dpnode1f : change of the pressure in node 1 supply (kPa)
dpnode2f : change of the pressure in node 2 supply (kPa)
dpnode1r : change of the pressure in node 1 return (kPa)
dpnode2r : change of the pressure in node 2 return (kPa)
pnode1f : pressure in node 1 supply (kPa)
pnode2f : pressure in node 2 supply (kPa)
pnode1r : pressure in node 1 return (kPa)
pnode2r : pressure in node 2 return (kPa)
dtnode1f : DT in node 1 supply (C)
dtnode2f : DT in node 2 supply (C)
dtnode1r : DT in node 1 return (C)
dtnode2r : DT in node 2 return (C)
tnode1f : temperature in node 1 supply (C)
tnode2f : temperature in node 2 supply (C)
tnode1r : temperature in node 1 return (C)
tnode2r : temperature in node 2 return (C)
xn : x coordinate for breakpoint (m)
yn : y coordinate for breakpoint (m)
A / slash must be typed after tNode2r. After that, up to 100 pairs of coordinates
can be specified for the pipe's breakpoints. Breakpoint coordinates are
terminated with a / slash.
Example:
*PIPE Pipe ID: “L1” Node1: “K1” Node2: “K2”
Diameter U value. Roughness Single-use resistance
Framl 88.9 0.325 0.05 1.5
Returl 88.9 0.300 0.05 1.0
Flow *
Node1 supply Node2 supply Node1 return Node2
return
Pressure changes 0 0 0 0
Pressure * * * *
Pressure changes 0 0 0 0
Temperatures * * * * /
Breakpoint x: 273.00 y: 598.0
Breakpoint x: 299.0 y: 700.8 /
Keyword *PSUP
This keyword is used to define an implicit pressure for a pressure control.
Keyword *PUMP
This keyword is used to enter pump data.
FORMAT:
*PUMP <pipeID, sida, naf, nar, pris1, pris 2, pris3,pris4, ndef, flödei, dpi, efi, >/
i = 1 - 12, i.e. up to 12 points can be specified.
Where:
pipeID : Pipe or node ID
sida : 0 both supply pipe and return pipe
1 supply
2 return
3 node
naf : Current speed for the supply pipe (revs per sec)
nar : Current speed for the return pipe (revs per sec)
pris1 : Operating cost for the pump (SEK/kWh)
pris2 : C tax (SEK/kWh)
pris3 : N tax (SEK/kWh)
pris4 : S tax (SEK/kWh)
ndef : Speed for which the pump characteristic is specified (revs per
sec)
flödei : Mass flow at which the pump pressurises dpi (kg/s)
dpi : Pressure increase (kPa), corresponding to flödei
efi : Power (kW), corresponding to flödei
Example:
*PUMP Pipe ID : “L1”
Supply/return : 2
Curr. speed supply pipe : 0 revs per sec
Curr. speed return pipe : 25 revs per sec
Pump cost : 0.70 SEK/kWh
C-tax : 0.4
N-tax : 0.2
S-tax : 0.8
Keyword *PQTA
This keyword administers the distribution of lift between the pumping performed
in the same pipe in both supply and return side and located in the same end of
the pipe. The total lift must be determined by a boundary condition, pressure in
the supply / return pipe or pressure differential in a node in the model where the
pumping has authority. The keyword is placed after the key words * PIPE in the
calculation file.
FORMAT:
*PQTA ”pipeid” Quota /
Pipeid: Pipe identification
Quota: Proportion in % (integer) of the total lift taken by the supply
pump. The rest, (100 – Quota) is taken by the return pump.
Quota must be in the range of 1-99.
Example:
*PQTA ”F4-F5” 50 /
*PQTA ”F7-F8” 70 /
Keyword *SHNT
This keyword is used to describe a shunt valve.
FORMAT:
*SHNT <Nodeid, Tshnt> /
Nodeid : node identification (-)
Tshnt : Required temperature
Note that if the node is provided with a shunt valve device, no other devices are
permitted in the node (e.g. a bypass).
As there is a node reference under the *SHNT keyword, this must be specified
after the *NODE keyword.
Even a requested supply pipe temperature cannot always be obtained. If e.g.
Tshnt = 100°C and max. temperature in the network is 90°C. In these cases, a
warning is issued.
Keyword *STEA
This keyword is used when the medium in the supply pipe is steam and there is
water in the return pipe (liquid phase).
Keyword *STOP
This keyword must be entered last in the file in order to make it clear that there
is no further input data. After this keywords, the input data file is closed and
calculation begins.
FORMAT:
*STOP
Keyword *TEMP
When the keyword *TEMP is entered, it is assumed that there is a constant
ambient temperature which is applicable to the entire network.
FORMAT:
*TEMP <omgivn.temp>
Where:
omgivn temp.: constant ambient temperature.(C)
If there are any deviating temperatures in the network, use the keyword *ATMP.
Example:
*TEMP Out. temperature: 5 degrees
Keyword *TITL
*TITL is used to place a header in the printout of results.
FORMAT:
*TITL <rad1>
<rad2>
-
<rad20>
Where:
rad : Max. 70 characters per row in the header.
Max. 20 text rows can be specified in the header. If fewer rows are specified, the
final row must end with a / (“slash”).
Example:
*TITL “ Network option 1 ”
“ 090919/DV ”
“ ” /
Keyword *VALV
This keyword is used to enter data for pressure-regulating valves.
FORMAT:
*VALV <ledningsid, sida, alfa, alfa1, kv1, alfa2, kv2,....., alfa10, kv10> /
Where:
ledningsid : Pipe identification (-)
sida : 0 both supply and return
1 supply
2 return
alfa : Valve opening degree (degrees) (0 = closed valve)
alfa1 : Valve position (degrees)
kv1 : Valve coefficient ((t/h)/bar½) (belongs to alfa1)
.
.
alfa10 : Valve position (degrees)
kv10 : Valve coefficient (belongs to alfa10)
Up to 10 data pairs of valve positions and valve coefficients can be entered. The
table must be specified with decreasing valve position values.
If fewer than 10 data pairs are specified, the table must be ended with a “/”
(slash).
Example:
*VALV
Pipe ID : “R1”
Supply pipe : 1
Valve characteristic:
Alfa Kv
90 360
75 320
60 280
45 240
30 200
15 160 /
Keyword *DYNP
This keyword is used to create input data from a stationary calculation in NetSim
to a dynamic calculation by the network. When keywords are entered in the DAT
file, results file is created with the extension .sss. The SSS file contains
geometry, pipe types and the ratio in the stationary calculation to pressure and
flows in the pipe network.
FORMAT:
*DYNP <DynOpt>
Where:
DynOpt is an integer which defines which part of the pipe network must be
shown in the SSS file.
- To include the supply pipes, enter 1
- To include the return pipes, enter 2
If the keyword is omitted, or DynOpt is set to 0 or *, the link will not be enabled.
Otherwise an error message will be generated.
Unit conversion for pressure:
Pressure is given in the SSS file in mvp, while pressure in NetSim's power data
file is given in kPa. To convert the pressures between the units kPa and mvp, the
equation below is used:
p [mvp = p [kPa x 9.81
where p is pressure.
Keyword *YEAR
Where:
durM : Duration in hours, the N:th period.
TmpN : Ground temperature in ? C for the N:th period.
fqN(M) : Load factor for node type M applicable to the N:th period.
fdtN(M) : Temperature factor for node type M applicable to the N:th period.
tiN(M) : Inlet temperature for node type M applicable to the N:th period.
rtN(M) : Change in return temperature for node type M applicable to the N:th
period.
prN(M) : Production cost for node type M applicable to the N:th period.
Example:
*YEAR
Duration Ground temperature
---------------------------------------
Period_0: 600 h 10 °C
Period_1: 3000 h 20 °C
Period_2: 5000 h 30 °C
/
Node type: 1
Qfaktor DTfaktor Tinl Treturl Pris
----------------------------------------------------------
Period_0: 1.400 1.200 95.00 0.00 1.0
Period_1: 1.000 1.000 85.00 0.00 2.0
Period_2: 0.500 0.900 80.00 0.00 3.0
/
Node type: 2
Qfaktor DTfaktor Tinl Treturl Pris
----------------------------------------------------------
Period_0: 1.000 1.000 90.00 0.00 1.0
Period_1: 1.000 1.000 85.00 0.00 2.0
Period_2: 1.000 1.000 85.00 0.00 3.0
/
/
Time series
In an external keyword-based text file, parameters can be specified in order to
execute a dynamic simulation. Keywords are used to control how flow, power
and supply pipe temperature vary over time. The time scale is in the range
minutes to 24 hours. The calculation is executed as a series of stationary
calculations in which the results of every calculation execute input data for the
next calculation, overlaid with the changes indicated by the keywords for the
time series. The interval between calculations is given when calculation begins
(see the section Calculation module). Typically, nodes are allocated consumption
type 1 and the relevant production plants are allocated node types 2 – 10.
In general, the keyword normally begins with a * which is placed in column 1 (at
the far left of the row). Then comes data, always indented by at least 1 position
in the row. Decimal points (.) must be used as decimal separators. This keyword
is ended with the / symbol.
Keyword *QFAC
This keyword controls the given flow for every node type with factors. This
keyword is given for every occurring node type in the calculation. Up to 14
values can be given for time and factor. This keyword is ended with /. Time is
specified with decimals used to indicate part-hours. In the calculation, given
factors are interpolated between given times.
FORMAT:
*QFAC Nodetyp
Tidpunkt1 Faktor
Tidpunkt2 Faktor
...
Tidpunkti Faktor
/
Where:
Nodetyp Node type 1 to 10
Tidpunkt Time (decimal).
Faktor Decimal value by which the specified flow is to be multiplied.
Example:
*QFAC Type: 1
0.00 0.82
1.00 0.76
5.50 1.07
7.00 1.26
8.00 1.26
9.00 1.16
12.00 1.01
14.00 0.86
15.00 0.86
16.00 0.98
17.00 1.14
18.00 1.16
19.00 1.14
23.00 0.91
/
Keyword *EFAC
This keyword controls the power for every node type with factors. This keyword
is given for every occurring node type in the calculation. Up to 14 values can be
given for time and factor. This keyword is ended with /. Time is specified with
0.00 0.82
1.00 0.76
5.50 1.07
7.00 1.26
8.00 1.26
9.00 1.16
12.00 1.01
14.00 0.86
15.00 0.86
16.00 0.98
17.00 1.14
18.00 1.16
19.00 1.14
23.00 0.91
/
Keyword *TINL
This keyword is used to control supply pipe temperature from production plants
for every node type. This keyword is given for every occurring node type in the
calculation. Up to 14 values can be given for time and temperature. This
keyword is ended with /. Time is specified with decimals used to indicate part-
hours. In the calculation, given temperatures are interpolated between given
times.
FORMAT:
*TINL Typ:Nodetyp
Tidpunkt1 Temperatur
Tidpunkt2 Temperatur
...
Tidpunkti Temperatur
/
Where:
Nodetyp Node type 1 to 10
Tidpunkt Time (decimal).
Temperatur Supply pipe temperature.
Example:
* TINL Typ: 1
0.00 100.0
1.00 100.0
5.50 110.0
7.00 115.0
8.00 110.0
9.00 110.0
12.00 100.0
14.00 100.0
15.00 100.0
16.00 100.0
17.00 100.0
18.00 100.0
19.00 100.0
23.00 100.0
/
Keyword *OFAC
This keyword controls production costs for every node type with factors. This
keyword is given for every occurring node type in the calculation. Up to 14
values can be given for time and factor. This keyword is ended with /. Time is
specified with decimals used to indicate part-hours. In the calculation, given
factors are interpolated between given times.
FORMAT:
*OFAC Typ:Nodetyp
Tidpunkt1 Faktor
Tidpunkt2 Faktor
...
Tidpunkti Faktor
/
Where:
Nodetyp Node type 1 to 10
Tidpunkt Time (decimal).
Faktor Decimal value by which the specified production cost is to be
multiplied.
Example:
*OFAC Typ: 1
0.00 0.80
5.00 0.80
5.50 1.00
19.00 1.00
23.00 0.80
/
Keyword *OUTP
This keyword is used to control the print level to the OUT file from the
calculation.
FORMAT:
*OUTP Tidpunkt1 Utskriftsnivå
Tidpunkt2 Utskriftsnivå
...
Tidpunkti Utskriftsnivå
/
Where:
0.00 0
5.00 0
6.50 2
7.00 1
12.00 0
/
Message Action
*** WARNING *** Both keywords: *FORW and *PSUP used Change input data
*** WARNING *** Energy cannot be extracted from accumulator The accumulator is empty! Change
in node: XX because minimum temperature has been reached. Calculation criteria
*** WARNING *** Energy cannot be stored in accumulator The accumulator is empty! Change
in node: XX because maximum temperature has been reached. Calculation criteria
*** ERROR *** Missing default type in table Change to other Default pipe type
Execution stopped due to input error. a ? in the calculation formula.
*** WARNING *** Heat capacity of accumulator in node: XX Change calculation criteria
has been violated.
*** WARNING *** Inlet temperature at node: XX on supply side Change input data
cannot be calculated.
*** WARNING *** Temperature specification not permitted Check data for bypass
in the same node!
*** WARNING *** Too many flows specified Change input data, check that only one
production plant has an unknown flow
*** WARNING *** Too many temp. specified in node: XX Check boundary conditions
*** Warning *** Blind end in critical route! Suppressed due to the fact that the
route is
“circulating”
Accumulator AND bypass in the same node is not allowed. Change input data
Data missing for pipe XX Correct input data for the pipe
Flow in pipe X-Y between X and Y unknown Consequential error, check boundary
conditions
Flow is specified in node with accumulator with unknown power. Change input data
Illegal data input for pipe Correct input data for pipe
dimensioning
Missing default type in pipe table! Change input data for pipe
dimensioning
Neither supply nor return pipe has been specified for pipe Change input data for pipe
dimensioning
No flow in pipe the heater should be turned off. Change input data
Node given under *ACCU does not exist Change input data
Node given under *SHUNT does not exist. Correct input data
Producer node has a bypass. That is not allowed. Correct input data
Pump in pipe X-Y cannot be placed correctly Change placement of the pump !
Shunt AND bypass in the same node is not allowed. Correct input data
The critical route is suppressed due to too many nodes. Critical route is too long
Unexpected End of Input File Does *STOP appear in the right place
in the file?
Check input data.
Dynamic temperatures missing. They must be in the CF1 file. Correct in file licheat.cf1
Calculation procedure
Input data
All data needed for the calculation is described in the input data file. This file is
created from the model database in NetSim or directly by the user using a text
editor. When carrying out calculation using correct input data, the program will
undergo the following phases:
The input data file is input. If errors occur during the input procedure,
the error messages will be displayed on screen, as well as in a log file
with the file extension CHK.
Input data is checked on the basis of several different criteria.
The ring connections in the pipe network are registered and the
foundation for the iterative calculation procedure is optimised.
The hydraulic and thermal solutions are found by means of an iterative
procedure.
Results from the calculation are written to the results files.
Pressure
When the flow is known as all points, the pressure loss depending on friction can
be calculated. The pressure loss as a consequence of friction is calculated using
the following formula:
2 v2 L
P K1 K 2 D g zd zu
D
If there is an individual pressure loss in the pipe, this is calculated as follows:
v2
P
2
Where:
ΔP = Pressure [Pa
ρ = Density [kg/m³
L = Pipe length [m
λ = Friction factor [ -
D = Internal diameter of pipe [m
v = Flow rate [m/s
g = Gravitation constant [m/s²
zd = Level downstream [m/s
zu = Level upstream [m/s
ξ = Individual pressure loss coefficient
K1 = Calibration factor 1
K2 = Calibration factor 2 [ m-1
The total pressure loss is the sum of pressure loss due to friction and individual
pressure losses.
The friction factor is calculated on the basis of the Colebrook and White
formula:
1 1.413
4 log 10
3.7 D Re
Where:
Dv
Re
k = Roughness in the pipe [m
Re = Reynolds number [ -
µ = Viscosity [kg/(ms)
D = Internal diameter of pipe [m
For small Reynolds numbers (< 2300), the friction factor is calculated as:
16
Re
If a valve or pump is placed at the end of the pipe, this is incorporated in the
pressure loss calculation. The pressure loss or pressure increase is added directly
to the pressure at the pipe end.
Temperature
When the flow throughout the entire network is known, the temperature in the
network can be calculated.
The cooling at a consumer can be described as follows if the heat power is
known:
E
T
Q CP
Where:
E = given heat power [W
CP = thermal capacitivity of the water [J/kg/C
Q = mass flow [kg/s
P A 2 B Q
Where:
A, B are constants determined through interpolation between relevant reference
values (ΔQ,Q) in the pump characteristic.
Q = mass flow in the pipe [kg/s
η = efficiency of pump
Bypasses
Bypasses can be placed in nodes.
The mass flow in the bypass is calculated using the following expression:
D2 2 P
o
4 3.8
Where:
ΔP = differential pressure.
The bypass is viewed as an individual pressure loss with a pressure loss
coefficient of 3.8 and a known pressure loss corresponding to the differential
pressure in the node.
Density and viscosity
The program calculates the current density and viscosity, corrected for pressure
and temperature as per the following expression:
P P0
Densitet 0 e K
e T T0
Keyword *COOL introduces constants to the program which are suitable for the
temperature range < 20 °C.
Steam module
The steam module requires steam throughout the entire supply pipe system and
liquid throughout the entire return pipe system. Latent heat and compressibility
have been taken into account in the calculation. The thermodynamic properties
are calculated on the basis of the equation below:
PM
p ,t
Z R T
Where:
P is pressure
M molar weight of the water
Z supercompressibility
R universal gas constant
T absolute temperature
Compressibility is calculated as a function of pressure and temperature using the
SRK equation:
Cp A B T C T 2 D T 3
Where:
A = 1791.5
B = 0.107
C = 0.586 x 10-3
D = -0.2 x 10-6
Q T Q
i i s Tr
i
T*
Q Q i
i s
Where:
Note that there are cases in which the requested supply pipe temperature cannot
be reached. The programs issues warnings in these cases.
Accumulators
Accumulators are handled as follows:
If the flow is positive in the node with the accumulator (power is stored in the
accumulator), the temperature in the return part of the network, Tr, will be the
same as the minimum temperature for the accumulator, Tmin.
If the flow is negative in the node with the accumulator (power is recovered from
the accumulator), the temperature in the supply pipe part of the network, Tf, will
be equal to the max. temperature for the accumulator, Tmax.
If the accumulator power is known and the accumulator's average temperature
falls below Tmin, it will not be possible to recover energy from the accumulator
in the next time step. Similarly, if the temperature is above Tmax, it will not be
possible to store any energy in the accumulator in the following time step.
Pipe types