SimName.SCE File

BACK
* red  words are TACITE's reserved words

Structure :

if the simulation is not a restart :
STABILIZE= Maximum time for stabilisation of the steady-state step
if the simulation is a restart :
RESTART= SimName_#  , i.e. restart curent simulation from SimName_#
STOP_TIME= Total time of the transient simulation

loop on equipments :

EQUIPMENT= Equipment name sepcified in SimName.GEO

if it is a Source :

         loop on components :
        UPST_COMPi
        Scenario for upstream mass flow rate of component i
        end loop
        Optional :
        UPST_TEMP
        scenario for upstream flow temperature
 

if it is a Sink :

        DOWN_PRES
        Scenario for downstream pressure of the flow line
 

if it is a Valve :

        VALV_OPEN
        Scenario for valve opening
 

if it is an Injector :

        loop on components :
        INJE_COMPi
        Scenario for local mass flow rate of the component i
        end loop
        Optional :
        INJE_TEMP
        Scenario for local fluid temperature
 

if it is a Relief Valve :

      SOUP_PRES
     Scenario for local outside pressure
 

if it is a Pump :

      PUMP_VELO
     Scenario for pump velocity
 

if it is a Pig :


     PIG_TOBE
     Scenario to launch the pig

end loop

BACK          TOP          Examples

REMARKS :

Back to prevoius lineScenario :

The scenario is declared with the following form. T is the time and BC the boundary condition to appy to the considered equipment.
 

Equipment_name
T=0          BC=10
T=T+500  BC=20
T=T+100  BC=10

This mean that at T=0s after the steady state the boundary condition is set down to 10.
Then at T=500s the boundary condition is increased up to 20.
At T=600s until the end of the simulation the boundary condition equals 10.

Back to prevoius lineMaximum time :

STABILIZED= 0d0  :
If the maximum time for the steady-state is equal to 0 then the results will be saved after the first step.

STABILIZED= TMd0    where TM is a positive integer :
This specifies that the steady-state step is computed until the stationnary criterion is lower than 1.e-4 or until the maximum time for stabilzation is reached.

STABILIZED= -1 :
This means that the steady-state step is computed until the stationnary criterion is lower than 1.e-4. However an implicit maximum time (which is very high) is specified to the user at the begining of the computation.

Back to prevoius lineSource :

Mass flow rate range : 0 < BC < 10.e3 kg/s.

Back to prevoius lineSink :

Pressure imposed at the outlet of the pipe range :1.e2 < BC < 1.e9 Pa.

Back to prevoius lineValve :

BC=0 means the valve is closed
BC=100 means the valve is full opened.
If a valve is located at the pipe exit it is possible to simulate a transient shutdown by closing the valve i.e. setting down BC to 0.

Back to prevoius lineInjector :

Mass flow rate range : 0 < BC < 10.e3 kg/s.
Mass flow rate have to be set down to 0 at T=0
Temperature range : 223 < BC < 532K.
The temperature at T=0 has no effect on the steady state computation but has to be coherent with transient scenario.

Back to prevoius lineRelief Valve :

Pressure range : 1.e2 < BC < 1.e9 Pa.
The pressure at T=0 has no effect on the stready state computation but it has to be coherent with the transient scenario. i.e. the local outside pressure must be greater than internal pressure

Back to prevoius linePump :

Velocity range : 0 < BC < 150 rpm

Back to prevoius linePig :

Pig status must be 0 at T=0  qand 1 at launching time.

Examples :     1 2   3

Example 1 :


STABILIZE = -1
STOP_TIME = 1000

EQUIPMENT = so1
---------------
UPST_COMP1
T=0                   BC=0.2
T=T+100               BC=0.3
T=T+10                  BC=0.4

UPST_COMP2
T=0                     BC=20.

EQUIPMENT = si1
---------------
DOWN_PRES
T=0                   BC=10d5
 

This scenario implies :
The steady state is computed until the stabilzation criterion is lower than1.e-4.
The total time of the transient scenario is 1000s.
The upstream mass flow rate of component 1  is initially set at 0.2 kg/s.
The upstream mass flow rate of component 2  is initially set at 20 kg/s.
The downstream pressure is set at 1.e6 Pa.
At  T = 100s the upstream mass flow rate of component 1 is increased up to 0.3 kg/s.
10s after the mass flow rate is increased again up to 0.4 kg/s
 
 

Back to prevoius lineExample 2 :

 
STABILIZE = 120
STOP_TIME = 10

EQUIPMENT = so1
---------------
UPST_COMP1
T=0                      BC=0.2
T=T+2                BC=0.3
UPST_COMP2
T=0                         BC=20.
T=T+2                   BC=25
EQUIPMENT = si1
---------------
DOWN_PRES
T=0                  BC=10d5

EQUIPMENT = rv1
-----------------
SOUP_PRES
T=0                     BC=10d5
T=T+2                BC=5d5
EQUIPMENT = valv2
-----------------
VALV_OPEN
T=0                      BC=50d0
T=T+2                BC=100d0
T=T+4                   BC=50d0
EQUIPMENT = wpump
-----------------
PUMP_VELO
T=0                      BC=100d0
 

This scenario implies :
The steady state is computed until the stabilzation criterion is lower than1.e-4 or the maximum time of 120s may be reached.
The total time of the transient scenario is 10s.
The upstream mass flow rate of component 1  is initially set at 0.2 kg/s.
The upstream mass flow rate of component 2  is initially set at 20 kg/s.
The downstream pressure is set at 1.e6 Pa.
The valv is 50% opened.
The Pump velocity is 100 rpm during the simulation.
At  T = 2s the upstream mass flow rate of component 1 and  2 is respectively  increased up to 0.3 kg/s and 25 kg/s.
The pressure of the relief valve is set down to  5.e5 Pa and the valv is fully opened.
2s after the valv is 50% shut .
 
 

Back to prevoius lineExample 3 :

 
RESTART=THER_01

STOP_TIME = 1200

EQUIPMENT = so1
---------------
UPST_COMP1
T=0                      BC=0.2
T=T+500            BC=0.3
T=T+1000           BC=0.1
T=T+100             BC=1.

UPST_COMP2
T=0                     BC=20.

EQUIPMENT = si1
---------------
DOWN_PRES
T=0                  BC=10d5
 
 

This simulation is a restart from the THER_01 simulation which total time was 1000s.
BACK      TOP