You are on page 1of 4

Depósito

Model: Depósito
Name Value
General
Java Package Name erlantz_1
File Name C:\Documents and
Settings\BEEP\Escritorio\ANYLOGIC\Erlantz_1\Depósito.alp

Active Object Class: Main


Name Value
Advanced
Additional Code double a=5;
Auto-create Datasets true
Recurrence 1
Dataset Samples To Keep 100
Make Default View Area false

Parameter: q
Name Value
General
Type double
Default Value 10
Editor
Editor Control TEXT_BOX

Flow Variable: Dy
Name Value
General
Formula q/a

Stock Variable: y
Name Value
General
Initial Value 25

Page 1 of 4
Depósito

Name Value
Expression Dy

Rectangle: rectangle
Name Value
Advanced
x 620
y 200
Width 80
Height 60
Rotation 180.0
Dynamic
Dynamic: Fill Color blue
Dynamic: Height y

Line: line
Name Value
Advanced
x 540
y 200
dX 80
dY 0

Line: line1
Name Value
Advanced
x 620
y 200
dX 0
dY -150

Line: line2
Name Value
Advanced
x 540
y 200
dX 0
dY -150

Simulation Experiment: Simulation


Name Value
General
Active Object Class Main
Random Number Generation Type randomSeed
Advanced

Page 2 of 4
Depósito

Name Value
Maximum Available Memory 64
Differention Equations Method EULER
Mixed Equations Method RK45_NEWTON
Algebraic Equations Method MODIFIED_NEWTON
Absolute Accuracy 1.0E-5
Time Accuracy 1.0E-5
Relative Accuracy 1.0E-5
Fixed Time Step 0.0010
Presentation Top Group Persistent true
Model Time
Model Time Units Minute
Stop Option Stop at specified time
Initial Time 0.0
Final Time 10.0
Presentation
CPU Time Balance ratio_1_2
Execution Mode realTimeScaled
Real Time Scale SCALE_1
Window
Title Erlantz_1 : Simulation

Text: text
Name Value
Advanced
x 40
y 30
General
Alignment LEFT
Font Name Serif
Font Size 28
Bold Font Style true
Text DEPÓSITO
Advanced
x 40
y 30

Text: text1
Name Value
Advanced
x 40

Page 3 of 4
Depósito

Name Value
y 63
General
Alignment LEFT
Font Name Serif
Font Size 16
Italic Font Style true
Text El depósito se va llenando de líquido debido al caudal que se
inserta en el mismo.
Advanced
x 40
y 63

Button: button
Name Value
General
Label Text Run the model and switch to Main view
Action if ( getState() == IDLE )
run();
getEngine().getPresentation().setPresentable(
getEngine().getRoot() );
Advanced
Font Name Dialog
Font Size 11
x 40
y 120
Width 330
Height 30
Dynamic
Dynamic: Label getState() == IDLE ?
"Run the model and switch to Main view" :
"Switch to Main view"

Page 4 of 4

You might also like