[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

equation card



Dear all,

I user sometimes the old version TRNSYS 14.2 with IISIBAT.
If I use the equation card the printer (type 25) write the calculated values
of the equation card. But other types (type56 or the online printer type 65)
did not work with the values of the equation card.

The following *.dck file shows my configuration.

Where is my mistake??  Thanks


*TRNSED
****************************************************************************
***
******* The file appartening to : root
******* Realisation date : Fri Jan  11  2 15:24:50
****************************************************************************
***

ASSIGN \trnwin\iisibat2\appli\root\simul\example.LST 6

******* Control cards
CONSTANTS 3
START=1
STOP=8760
STEP=1
*          Start time   End time   Time step
SIMULATION START STOP STEP
*          Integration   Convergence
TOLERANCES 0.01 0.01
*          Max iterations   Max warnings   Trace limit
LIMITS 25 10 25
*          TRNSYS numerical integration solver method
DFQ 1
*          TRNSYS output file width, number of characters
WIDTH 72
*          List statement
LIST
*          Solver statement
SOLVER 0
*          Equations
EQUATIONS 2
   LW_1=12
   LW_2=TIME

*--------------------------------------------------------------------------*
*|*
*|*  ******* UNIT 2 TYPE 25 TYPE25-1 *******
*|*PARAMETERS                                              VALUES      UNITS
CONSTANTS 5
PRIN=1
*|Printing_interval                        |hr|hr|0|1|-12|1000000|1000
STAR=0
*|Start_time                               |hr|hr|0|1|0|1000000|1000
STOP1=8760
*|Stop_time                                |hr|hr|0|1|0|1000000|1000
LOGI=17
*|Logical_unit                             |||0|1|10|30|1000
PRIN1=2
*|Print_TRNSYS_units                       |||0|1|2|2|1000
UNIT 2 TYPE 25 TYPE25-1
PARAMETERS 5
* 1 Printing interval
PRIN
* 2 Start time
STAR
* 3 Stop time
STOP1
* 4 Logical unit
LOGI
* 5 Print TRNSYS units
PRIN1
INPUTS 2
* 1 Input to be printed-1
LW_1
* 2 Input to be printed-2
LW_2
*** INPUT  VALUES
LW_1 LW_2
******* External file
ASSIGN LW.PLT 17

*--------------------------------------------------------------------------*
*|*
*|*  ******* UNIT 1 TYPE 65 TYPE65-1 *******
*|*PARAMETERS                                              VALUES      UNITS
CONSTANTS 14
C_OF=1
*|#_of_left_axis_variables                 |||0|1|1|10|1000
C_OF1=1
*|#_of_right_axis_variables                |||0|1|1|10|1000
LEFT=0
*|Left_axis_minimum                        |||0|1|-1000000|1000000|1000
LEFT1=20.0
*|Left_axis_maximum                        |||0|1|-1000000|1000000|1000
RIGH=0.0
*|Right_axis_minimum                       |||0|1|-1000000|1000000|1000
RIGH1=20.0
*|Right_axis_maximum                       |||0|1|-1000000|1000000|1000
UPDA=1
*|Update_plot_every_i_timesteps            |||0|1|1|1000000|1000
UPDA1=1
*|Update_values_every_i_timesteps          |||0|1|1|1000000|1000
UNIT=3
*|Unit_indicator                           |||0|1|1|3|1000
NUMB=1
*|Number_of_plots_per_simulation           |||0|1|1|1000000|1000
X_AX=7
*|X_axis_gridpoints                        |||0|1|1|1000000|1000
STOP2=1
*|Stop_indicator                           |||0|1|0|1|1000
SYMB=2
*|Symbol_indicator                         |||0|1|1|2|1000
HPGL=0
*|HPGL_output_indicator                    |||0|1|0|1|1000
UNIT 1 TYPE 65 TYPE65-1
PARAMETERS 14
* 1 # of left-axis variables
C_OF
* 2 # of right-axis variables
C_OF1
* 3 Left axis minimum
LEFT
* 4 Left axis maximum
LEFT1
* 5 Right axis minimum
RIGH
* 6 Right axis maximum
RIGH1
* 7 Update plot every i timesteps
UPDA
* 8 Update values every i timesteps
UPDA1
* 9 Unit indicator
UNIT
* 10 Number of plots per simulation
NUMB
* 11 X-axis gridpoints
X_AX
* 12 Stop indicator
STOP2
* 13 Symbol indicator
SYMB
* 14 HPGL output indicator
HPGL
INPUTS 2
* 1 Left axis variable-1
LW_1
* 2 Right axis variable-1
LW_2
*** INPUT  VALUES
LW_1 LW_2
LABELS 4
NUTS
APPLES
PEARS

*--------------------------------------------------------------------------*

END