You are on page 1of 10

#1 char Aclass(3,32) Adymosim 1.

4 Final state generated by Dymosim # Experiment parameters double experiment(7,1) 1 # StartTime Time at which integration starts # (and linearization and trimming time) 2 # StopTime Time at which integration stops 0 # Increment Communication step size, if > 0 500 # nInterval Number of communication intervals, if > 0 1.000000000000000E-004 # Tolerance Relative precision of signals for # simulation, linearization and trimming 0 # MaxFixedStep Maximum step size of fixed step size # integrators, if > 0.0 8 # Algorithm Integration algorithm as integer (1... 28) # # | model| | | dense | state | # Algorithm | typ | stiff | order | output| event | # ------------+------+-------+--------+-------+------+ # 1 | deabm | ode | no | 1-12 | yes | no | # 2 | lsode1 | ode | no | 1-12 | yes | no | # 3 | lsode2 | ode | yes | 1-5 | yes | no | # 4 | lsodar | ode | both |1-12,1-5| yes | yes | # 5 | dopri5 | ode | no | 5 | no | no | # 6 | dopri8 | ode | no | 8 | no | no | # 7 | grk4t | ode | yes | 4 | no | no | # 8 | dassl | dae | yes | 1-5 | yes | yes | # 9 | odassl | hdae | yes | 1-5 | yes | yes | # 10 | mexx | hdae | no | 2-24 | no | no | # 11 | euler | ode | no | 1 | no | yes | # 12 | rkfix2 | ode | no | 2 | no | yes | # 13 | rkfix3 | ode | no | 3 | no | yes | # 14 | rkfix4 | ode | no | 4 | no | yes | #>=14| others | ode |yes/no | 2-5 | yes | yes | # ---+--------+------+-------+--------+-------+------+

# euler and rkfix have fixed stepsize. # Method tuning parameters double method(27,1) 1 # grid y # val") # # ly) # e.g. # # # # # 1 # nt 3 # dense 1 # evgrid grid 1 # evu s 0 # evuord ,...) 0 # error 0 # jac 0 # xd0c 0 # f3 0 # f4 0 # f5 0 # debug bug) 100 # pdebug ) 0 # fmax f > 0 0 # ordmax 0 # hmax 0 # hmin h care!) 0 # h0 > 0 2.000000000000000E-014 # teps 1.000000000000000E-010 # eveps 20 # eviter 1.000000000000000E-006 # delaym 1 # fexcep im 1 # tscale id = 5 # # # 1 # shared 2473 # memkey

type of communication time grid, defined b = 1: equidistant points ("Increment/nInter = 2: vector of grid points ("tgrid") = 3: variable step integrator (automatical = 4: model (call of "increment" in Dymola, incr=Time > 2 then 0 else 0.1 dummy=increment(incr)) grid = 1,3 is stopped by "StopTime" grid = 2 is stopped by "tgrid(last)" grid = 4 runs forever (stopped by model) Use every NT time instant, if grid = 3 1/2/3 restart/step/interpolate GRID points 0/1 do not/save event points in comm. time 0/1 U-discontinuity does not/trigger event U-discontinuity order to consider (0,1 0/1/2 One message/warning/error messages 0/1 Compute jacobian numerically/by BLOCKJ 0/1 Compute/set XD0 0/1 Ignore/use F3 of HDAE (= index 1) 0/1 Ignore/use F4 of HDAE (= index 2) 0/1 Ignore/use F5 of HDAE (= invar.) flags for debug information (1<<0 uses pde priority of debug information (1...100 Maximum number of evaluations of BLOCKF, i Maximum allowed integration order, if > 0 Maximum absolute stepsize, if > 0 Minimum absolute stepsize, if > 0 (use wit Stepsize to be attempted on first step, if Bound to check, if 2 equal time instants Hysteresis epsilon at event points Maximum number of event iterations Minimum time increment in delay buffers 0/1 floating exception crashes/stops dymos clock-time = tscale*simulation-time, if gr > 1: = 1: < 1: (not (not simulation too slow simulation-time = real-time simulation too fast used) used)

# Output parameters int settings(13,1) 0 1 1 1 1 0 1 1 0 0 1 0 ry on dsshare.txt 1 results trimming)

# # # # # # # # # # # #

lprec lx lxd lu ly lz lw la lperf levent lres lshare

0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1

do do do do do do do do do do do do

not/store not/store not/store not/store not/store not/store not/store not/store not/store not/store not/store not/store

result data in double x (state variables) xd (derivative of states) u (input signals) y (output signals) z (indicator signals) w (auxiliary signals) a (alias signals) performance indicators event point results on result file info data for shared memo

# lform #

0/1 ASCII/Matlab-binary storage format of (for simulation/linearization; not for

# Names of initial variables char initialName(72,90) _dummy _derdummy p1 p2 T1 T2 d_pT Dt state_light.p state_light.T state_light.X[1] state_light.Z state_light.d state_light.h _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.M M _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.H f _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.H 0 _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.T limit _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[1] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[2] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[3] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[4] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[5] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[6] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a low[7] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.b

low[1] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.b low[2] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[1] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[2] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[3] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[4] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[5] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[6] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.a high[7] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.b high[1] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.b high[2] _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleGasesData.CO2.R _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.MM _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.Hf _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.H0 _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.Tlimit _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[1] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[2] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[3] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[4] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[5] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[6] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.alow[7] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.blow[1] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.blow[2] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[1] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[2] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[3] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[4] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[5] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[6]

_GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.ahigh[7] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.bhigh[1] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.bhigh[2] _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.CarbonDioxide.dat a.R state_light.a state_light.b state_light.A state_light.B state_light.m state_light.ac state_light.Tr state_light.Pr state_light.a_derT T d_id p double initialValue(72,6) -2 1 0 0 2 0 # _dummy -2 0 0 0 3 0 # _derdummy -1 8.000000000000000E+006 0 1.000000000000000E+008 1 280 # p1 -1 8.000000000000000E+006 0 1.000000000000000E+008 1 280 # p2 -1 320 200 6000 1 280 # T1 -1 1000 200 6000 1 280 # T2 -1 1 0 0 1 281 # d_pT -1 1 0 0 1 280 # Dt -2 8.000000000000000E+006 0 1.000000000000000E+008 6 256 # state_light.p -2 1000 200 6000 6 256 # state_light.T -2 1 0 1 6 256 # state_light.X[1] -2 1.018139409048166E+000 0 0 6 256 # state_light.Z -2 4.159053418091085E+001 0 100000 6 256 # state_light.d -2 1.257174339059036E+006 -1.000000000000000E+008 1.000000000000000E+008 6 256 # state_light.h -2 4.400950000000000E-002 0 1.000000000000000E+100 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.MM -2 -8.941478544405179E+006 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.Hf -2 2.128056215135370E+005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.H0 -2 1000 0 1.000000000000000E+100

6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.Tlimit -2 4.943650540000000E+004 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[1] -2 -6.264116010000000E+002 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[2] -2 5.301725240000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[3] -2 2.503813816000000E-003 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[4] -2 -2.127308728000000E-007 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[5] -2 -7.689988780000000E-010 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[6] -2 2.849677801000000E-013 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.alow[7] -2 -4.528198460000000E+004 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.blow[1] -2 -7.048279440000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.blow[2] -2 1.176962419000000E+005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[1] -2 -1.788791477000000E+003 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[2] -2 8.291523190000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[3] -2 -9.223156780000000E-005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[4] -2 4.863676880000000E-009 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[5] -2 -1.891053312000000E-012 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[6] -2 6.330036590000000E-016 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.ahigh[7] -2 -3.908350590000000E+004 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.bhigh[1] -2 -2.652669281000000E+001 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.bhigh[2] -2 1.889244822140670E+002 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.IdealGases.Common.SingleG asesData.CO2.R -2 4.400950000000000E-002 0 1.000000000000000E+100

6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.MM -2 -8.941478544405179E+006 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.Hf -2 2.128056215135370E+005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.H0 -2 1000 0 1.000000000000000E+100 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.Tlimit -2 4.943650540000000E+004 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[1] -2 -6.264116010000000E+002 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[2] -2 5.301725240000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[3] -2 2.503813816000000E-003 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[4] -2 -2.127308728000000E-007 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[5] -2 -7.689988780000000E-010 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[6] -2 2.849677801000000E-013 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.alow[7] -2 -4.528198460000000E+004 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.blow[1] -2 -7.048279440000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.blow[2] -2 1.176962419000000E+005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[1] -2 -1.788791477000000E+003 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[2] -2 8.291523190000000E+000 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[3] -2 -9.223156780000000E-005 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[4] -2 4.863676880000000E-009 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[5] -2 -1.891053312000000E-012 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[6] -2 6.330036590000000E-016 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.ahigh[7] -2 -3.908350590000000E+004 0 0

6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.bhigh[1] -2 -2.652669281000000E+001 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.bhigh[2] -2 1.889244822140670E+002 0 0 6 1280 # _GlobalScope.ThermoPowerLight.MediaLight.RealGases.SingleGases.Car bonDioxide.data.R -2 3.682888991641274E+001 0 0 6 256 # state_light.a -2 6.061606918329225E-004 0 0 6 256 # state_light.b -2 8.254715967955333E-003 0 0 6 256 # state_light.A -2 2.566785139666938E-002 0 0 6 256 # state_light.B -2 7.079837999999999E-001 0 0 6 256 # state_light.m -2 2.046922520369925E+002 0 0 6 256 # state_light.ac -2 3.288175720110483E+000 0 0 6 256 # state_light.Tr -2 1.084892866829401E+000 0 0 6 256 # state_light.Pr -2 -1.114668801591202E-001 0 0 6 256 # state_light.a_derT -2 1000 200 6000 6 256 # T -2 50 0 100000 6 256 # d_id -2 8.000000000000000E+006 0 1.000000000000000E+008 6 256 # p # # # # # # # # # # # # # # # # # # # # # # # # # # Matrix with 6 columns defining the initial value calculation (columns 5 and 6 are not utilized for the calculation but are reported by dymosim via dymosim -i for user convenience): column 1: Type of initial value = -2: special case: for continuing simulation (column 2 = value) = -1: fixed value (column 2 = fixed value) = 0: free value, i.e., no restriction (column 2 = initial value) > 0: desired value (column 1 = weight for optimization column 2 = desired value) use weight=1, since automatic scaling usually leads to equally weighted terms column 2: fixed, free or desired value according to column 1. column 3: Minimum value (ignored, if Minimum >= Maximum). column 4: Maximum value (ignored, if Minimum >= Maximum). Minimum and maximum restrict the search range in initial value calculation. They might also be used for scaling. column 5: Category of variable. = 1: parameter. = 2: state. = 3: state derivative. = 4: output. = 5: input. = 6: auxiliary variable. column 6: Data type of variable. = 0: real.

# = 1: boolean. # = 2: integer. # # Initial values are calculated according to the following procedure: # # - If parameters, states and inputs are FIXED, and other variables # are FREE, no special action takes place (default setting). # # - If there are only FIXED and FREE variables and the number of # FREE parameters, states and inputs is IDENTICAL to the number of # FIXED state derivatives, outputs and auxiliary variables, a non-linear # equation is solved to determine a consistent set of initial conditions. # # - In all other cases the following optimization problem is solved: # min( sum( weight(i)*( (value(i) - DESIRED(i))/scale(i) )^2 ) ) # under the constraint that the differential equation is fulfilled # at the initial time. In most cases weight(i)=1 is sufficient, due # to the automatic scaling (if DESIRED(i) is not close to zero, # scale(i) = DESIRED(i). Otherwise, the scaling is based on the # nominal value (and maybe minimum and maximum values given in # column 3 and 4). If these values are zero, scale(i)=1 is used). # char initialDescription(72,61) dummy derdummy [Pa|bar] [Pa|bar] [K|degC] [K|degC] [s] Absolute pressure of medium [Pa|bar] Temperature of medium [K|degC] Mass fractions (= (component mass)/total mass m_i/m) [kg/kg] Vapor Compressibility factor density [kg/m3|g/cm3] enthalphy [J/kg] Molar mass [kg/mol] Enthalpy of formation at 298.15K [J/kg] H0(298.15K) - H0(0K) [J/kg] Temperature limit between low and high data sets [K|degC] Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature constants b Low temperature constants b High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature constants b High temperature constants b Gas constant [J/(kg.K)]

Molar mass [kg/mol] Enthalpy of formation at 298.15K [J/kg] H0(298.15K) - H0(0K) [J/kg] Temperature limit between low and high data sets [K|degC] Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature coefficients a Low temperature constants b Low temperature constants b High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature coefficients a High temperature constants b High temperature constants b Gas constant [J/(kg.K)]

[K|degC] [kg/m3|g/cm3] [Pa|bar]