TRNLIB
- Libraries of User-Written Components for TRNSYS
Available
Component Types:
Electrical Components
Number |
Name |
Description |
175 |
Power Conditioning Unit Parameters |
This database contains the parameters for hundreds of commercial inverters for use with Type175.
Created by Anton Driesse, June 2009
[zip] |
Utility Components
Number |
Name |
Description |
201 |
Cogeneration
plant
|
This
routine
calculates the first and second law as well as the purpa efficiency of
a cogeneration plant which supplies electricity and heat in the form of
steam or hot water.
Created
by F. D. Drake, Oct 1998
[Fortran code] [More...]
|
202 |
Comparative Economic
Analysis of two plants
|
This
routine
compares the economic attractiveness of two different plants (base
case:b versus a:alternative) by performing the various economic
analysis techniques (see modes)
Created
by F. D. Drake, Oct 1998
[Fortran code] [More...]
|
210 |
Node
|
When a project becomes very big, it may be
very difficult to follow all of the connection lines between
components. In addition, in some simulations the outputs from one
component may be used as inputs for many other components. The project
layout may look very crowded with lines coming from the same component.
This Type acts like a node that can be used as an intermediate
depository of the information coming from another component.
Created by Diego A. Arias at the Solar
Energy Laboratory, Feb 2006.
[zip]
|
Physical Components
Number |
Name |
Description |
203 |
Radiative Sky
Temperature Estimator
|
This component calculates the sky
temperature from data in a full TMY weather file. Some of these data
are missing, in which case they are replaced with the nearest
previously recorded values.
Created by David Summers, Feb 1995.
[Fortran
code] [More...]
|
Thermal Solar Collectors
Components
Number |
Name |
Description |
204 |
Unglazed Transpired
Collector System
|
For this model to correctly calculate the
performance of transpired collectors, the approach velocity (appvel)
should be greater than 72 m/hr. Otherwise, there will be convection
losses from the collector between the holes, and the collector's
performance will be reduced. Also, the collector pressure drop (pcol)
should be at least 0.025 Pa to ensure uniform flow through the
collector. Otherwise, sections of the collector will become hotter than
others, and radiation losses from the collector will increase. Again,
this will reduce the collector's performance. To achieve a sufficient
pressure drop, the porosity (por) should be about 0.005 to 0.01 for the
given approach velocities. If these approach velocity and pressure drop
conditions are not met, this subroutine will write a warning to a file.
It is important to emphasize that a collector _can_ be operated at
approach velocities and pressure drops below these values, but this
model will just over predict the performance.
Created by David Summers at the Solar Energy
Laboratory, Dec 1995.
[Fortran
code] [More...]
|
205 |
Serpentine
Collector |
This subroutine
models a serpentine collector. A serpentine collector can be modeled
using the conventional header-riser parallel flow collector model, if
the number of turns is greater than about fifteen. The only
difference is the calculation of the heat transfer coefficient, which
is calculated for a long tube.
Modified by Myrna Dayan , Aug 1997.
[Fortran
code] [More...]
|
Thermal Storage Components
Number |
Name |
Description |
204 |
Phase change material
|
This subroutine models a phase change
material. The zip file contains the proforma, sourcecode, dlls and an
example of how to use it with Type56.
Created by Piia Lamberg, at Helsinki
University of Technology.
[Zip]
|
206 |
Stratified Fluid Storage
Tank with Internal Heat Exchanger
|
This subroutine models a hot water store
with internal or mantle heat exchanger.
Created by R.H. Marshall and C.L.W. Li,
University of Wales College of Cardiff, 1986 to 1989.
[Fortran code]
[More...]
|
207 |
Ice Storage Tank |
This subroutine
models the operation of an ice storage tank. The tank is characterized
by its capacity (in terms of kilograms of ice), volume, height, and
overall loss coefficient. Inputs are: entering water temperature, water
mass flow rate, the ice generation rate (from an ice harvester), and
the temperature of the environment. There is one derivative: the mass
of ice in the tank at the beginning of the simulation period. Outputs
are: leaving water temperature, the water mass flow rate, ice mass at
the end of the simulation time step, the ice "burn rate", the rate of
heat loss to the environment, the rate of energy "input" to the tank
via ice generation, and the rate of energy "supplied" to the water
stream.
Modified by Stefan Behschnitt , Jun 1996.
[Fortran code]
[More...]
|
208 |
Type
230
|
This subroutine
computes the bulk temperature a surface-water body. The water body can
be used as a heat source/sink in a closed-loop water- source heat pump
system. The bulk temperature is determined using a lumped capacitance
approach. This model assumes that one spool is one flow circuit.
Developer: Andrew Chiasson and Dr. Jeffrey
Spittler , April 1999.
[Fortran
code] [zip]
|
HVAC Components
Number |
Name |
Description |
208 |
Flow Controller for A/C
System
|
This TRNSYS type is a flow controller that
calculates the percentage of flow that should pass through the A/C coil
in order to minimize the sensible reheat in the system. The A/C coil
outlet temperature is constrained to above 38 F so that frosting of the
coil is not encountered.
Created by Todd B. Jekel, Dec 1990.
[Fortran code]
[More...]
|
Controllers Components
Number |
Name |
Description |
209 |
'Sticky' Proportional
Controller
|
This component is to be used ONLY to pass
control signals between superblocks. The variable defined by its output
should not be solved simultaneously.
[Fortran code]
[More...]
|
Hydronics Components
Number |
Name |
Description |
201 |
Steam Pipe
|
This subroutine calculates the heat losses
and pressure drops in a steam pipeline.
[Fortran
code] [More...]
|
202 |
Contaminant Transport
|
Calculates the concentration of a
contaminant in a multiple-zone ventilated volume as a function of
simulation time.
[Fortran
code] [More...]
|
203 |
Centrifugal Fan
|
This Type represents a Ventilator type load,
which is designed to run with an electric motor.
[Fortran
code] [More...]
|
204 |
Centrifugal Pump
|
This Type represents a centrifugal pump,
which is designed to run with an electric motor. The model requires two
sets of data: head-flowrate data at reference speed and
efficiency-flowrate data at reference speed. A linear regression is
performed to fit a curve through those data. The normal equations are
solved using Gaussian elimination with partial pivoting. Newton's
method is implemented to solve a system of nonlinear equations.
[Fortran
code] [More...]
|
205 |
Conduit (Duct or Pipe)
|
The conduit model is designed to account for
three effects: thermal losses to ambient conditions, transport delays,
and dynamics due to thermal capacitance. The model has four modes,
determined by the last parameter. If the absolute value of MODE is 1,
air properties are used and the model represents a duct. If the
absolute value of MODE is 2, water properties are used and the model
represents a pipe. The sign of MODE determines the method used to
calculate thermal capacitance effects.
[Fortran
code] [More...]
|
206 |
Damper or Valve
|
This model represents dampers or valves
having inherent characteristics which are linear, exponential, or
intermediate between linear and exponential.
[Fortran
code] [More...]
|
207 |
Fan or Pump
|
Calculates a pressure rise and an efficiency
as functions of a mass flow rate, using dimensionless performance
curves.
[Fortran
code] [More...]
|
208 |
Flow Merge
|
This component models the merging of two
flow streams.
[Fortran
code] [More...]
|
209 |
Flow Split
|
This component models the division of a flow
stream into two flow streams. It calculates the mass flow rates at the
two outlets, and the pressure at the single inlet.
[Fortran
code] [More...]
|
210 |
'Grounded' Water or Air
Split
|
This component models the division of a flow
stream into two flow streams.
[Fortran
code] [More...]
|
211 |
Linear Valve with
Pneumatic Actuator
|
The valve model includes a pneumatic
actuator model.
[Fortran
code] [More...]
|
212 |
Mixing Dampers and Merge
|
This component represents a pair of mixing
dampers, mechanically linked so that one damper opens as the other
closes. The first inlet is closed when the input control signal, C, is
zero, and open when C is one. The reverse is true for the second inlet.
Hysteresis effects and an actuator time constant are not included in
the model.
[Fortran
code] [More...]
|
213 |
Plenum
|
The output of this component is simply the
sum of its inputs. The single parameter, n, specifies the number of
input flow rates to be summed. Up to ten flow rates may be added
together. Ten input flow rates are required by the model, but only the
first n are summed. The remaining inputs are ignored.
[Fortran
code] [More...]
|
214 |
Three-Way Valve with
Actuator
|
This component represents a valve with two
inlet ports and one outlet port.
[Fortran
code] [More...]
|
221 |
Four-Way Valve
|
This component simulates the function of a four way valve.
[Fortran
code] [More...]
|
Auxiliary Heating and Cooling
Components
Number |
Name |
Description |
201 |
Modified Type 7
Absorption Air Conditioner
|
This is the modified TYPE 7 absorption air
conditioner from TRNSYS 13.1.
[Fortran
code] [More...]
|
202 |
Modified Type 53
Centrifugal Chiller
|
This subroutine models the operation of a
chiller based on a five parameter equation relating the dimensionless
power to the dimensionless load and deviations from design entering
condenser and chilled water set point temperatures. It differs from
"type 53" in that it does not require an external data file. Given
values for the chilled water set point temperature, the evaporator
water inlet temperature and mass flow rate, and the condenser water
inlet temperature and mass flow rate, the subroutine will return the
evaporator water outlet temperature (and mass flow rate), the condenser
water outlet temperature (and mass flow rate), the load, the power
requirement, the condenser heat rejection, and the coefficient of
performance. A control variable allows the chiller to be shut off when
it is not needed.
[Fortran
code] [More...]
|
203 |
Water-LiBr Absorption
Chiller
|
This subroutine models a commercial
(> 100 ton) gas fired double-effect water-lithium bromide
absorption chiller in parallel flow configuration. The chiller is
modeled after a york parallel flow chiller.
[Fortran
code] [More...]
|
204 |
Evaporative Humidifier
from
|
This component, which is based on a model
developed by Chi, represents an air stream passing over a water pan or
through a porous pad, increasing the humidity and decreasing the
temperature of the air.
[Fortran
code] [More...]
|
205 |
Steam Nozzle
|
The steam nozzle calculates a mass flow rate
and exit steam temperature, given the downstream pressure and the
upstream steam stagnation temperature and pressure.
[Fortran
code] [More...]
|
206 |
Steam Spray Humidifier
|
The steam spray humidifier model calculates
an outlet air temperature, flow rate, and humidity ratio for a constant
pressure process in which steam is injected into an air flow stream to
increase the humidity of the air.
[Fortran
code] [More...]
|
207 |
Heat Exchanger
|
This subroutine models a heat exchanger in
order to calculate the necessary massflow to achieve a certain change
of state of the second fluid.
[Fortran
code] [More...]
|
208 |
Sensible Heat Exchanger
in Heating Mode
|
This subroutine calculates the maximum
effectiveness of a HX with the constraint that no excess water
accumulates on the matrix.
[Fortran
code] [More...]
|
209 |
Enthalpy Heat Exchanger
in Heating Mode
|
This subroutine calculates the maximum
effectiveness of an EX and the according outlet states with the
constraint that no excess water accumulates on the matrix.
[Fortran
code] [More...]
|
210 |
Enthalpy Exchanger and
Heat Exchanger in Cooling Mode
|
This subroutine calculates the maximum
effectiveness of an EX or HX and the according outlet states in the
cooling mode.
[Fortran
code] [More...]
|
211 |
Steam to Air Heat
Exchanger
|
This component represents a cross flow heat
exchanger consisting of horizontal tubes with circular fins.
[Fortran
code] [More...]
|
Annex 17 Components
Number |
Name |
Description |
201 |
Steam Boiler
|
Calls subroutines steam and solver.
Written by Georges Liebecq at the Solar
Energy Laboratory, 1988.
[Fortran
code] [More...]
|
202 |
Dynamic Thermal
Capacitance Model
|
It models a thermal capacitance. It can be
used in order to take into account the thermal behavior of the pipes or
of the boiler.
[Fortran
code] [More...]
|
203 |
Sum of a Number of Inputs
|
This type calculates the sum of a number of
inputs.
[Fortran
code] [More...]
|
204 |
Insulated Pipe
|
This is a simplified pipe model. The heat
exchange coefficient is supposed constant and is given as a parameter.
[Fortran
code] [More...]
|
205 |
Non-Insulated Pipe
|
Calls the subroutine pipe which calculate
the heat transfer coefficient using simplified laws, the heat transfer
of the pipe and the exhaust temperature of the fluid going through the
pipe.
[Fortran
code] [More...]
|
206 |
Feeding Column
|
Model of column for a hot water heating
system. Calls the subroutine pipe which calculate the heat transfer
coefficient using simplified laws, the heat transfer of the pipe and
the exhaust temperature of the fluid going through the pipe.
[Fortran
code] [More...]
|
207 |
Combined Component:
Pipe, Thermostatic Valve, and Radiator
|
This combined unit has been created to avoid
a large number of units. In consists of a pipe element followed by a
thermostatic valve, a radiator and another pipe.
[Fortran
code] [More...]
|
208 |
Building: Specific to
this Model
|
Simplified model of La Chaumiere building.
[Fortran
code] [More...]
|
209 |
Perfect Three-Way Valve
|
The valve has a logarithmic characteristic
for the direct flow and a linear characteristic for the bypass.
[Fortran
code] [More...]
|
210 |
Specific Controller
|
This is a very simple component that
calculates the set point temperature for the boiler and the three-way
valve and the mass flow rates of water.
[Fortran
code] [More...]
|
211 |
Static Boiler
|
This is the boiler used in the simulation of
the heating system of a residential building (La Chaumiere).
[Fortran
code] [More...]
|
|