-
Notifications
You must be signed in to change notification settings - Fork 38
/
dumpsol.mod
28 lines (24 loc) · 1.4 KB
/
dumpsol.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* Copyright (C) 2000-2023 Energy Technology Systems Analysis Programme (ETSAP)
* This file is part of the IEA-ETSAP TIMES model generator, licensed
* under the GNU General Public License v3.0 (see file NOTICE-GPLv3.txt).
*=============================================================================*
* DUMPSOL.MOD displays selected solution results *
* %1 - mod or v# for the source code to be used *
* %2 - NO_EMTY if headers to be surpressed if no row *
*=============================================================================*
*GaG Questions/Comments:
*-----------------------------------------------------------------------------
FILE SOLDUMP; PUT SOLDUMP;
SOLDUMP.PW=255;
$SET NO_EMTY '%2'
$BATINCLUDE dumpsol1.mod 'L' VAR_NCAP VAR_CAP VAR_COMPRD
$BATINCLUDE dumpsolv.mod 'L' VAR_ACT VAR_FLO VAR_IRE VAR_SIN VAR_SOUT
$BATINCLUDE dumpsol1.mod 'M' VAR_NCAP VAR_CAP VAR_COMPRD
$BATINCLUDE dumpsolv.mod 'M' VAR_ACT VAR_FLO VAR_IRE VAR_SIN VAR_SOUT
$BATINCLUDE dumpsol1.mod 'L' EQG_COMBAL EQE_COMBAL EQE_COMPRD
$BATINCLUDE dumpsol1.mod 'M' EQG_COMBAL EQE_COMBAL EQE_COMPRD
PARAMETER VARACT(R,T,P) / EMPTY.EMPTY.EMPTY 0 /;
VARACT(RTP(R,T,P)) = SUM((V,S), VAR_ACT.L(R,V,T,P,S));
$BATINCLUDE dumpsol1.mod 'T' VARACT
PUTCLOSE SOLDUMP;