Академический Документы
Профессиональный Документы
Культура Документы
Fluid Pickup Lets the agents passing through pick up fluid or bulk matter.
FluidDispose
FluidSource Tank
Capacity: 10
Pipeline Pipeline Limited output rate:
Capacity: 15 Capacity: 10 Maximum output rate:
Tank
Limited rate: 0.007 cubic meters / s
Capacity: 6000
Initial amount: 4500 Maximum rate: 1 cubic
meters / s
Pipe direction
Pipes are unidirectional. The liquid will always flow from the pipe's start point to its end
point. To view the pipe direction, select the pipe. The start point is blue-colored; the end
point is white-colored:
Click Yes
FluidDispose
Name: liquidPetroleumGasDispose
FluidSplit
Mode: Proportional
Fraction 1: 0.02
Fraction 2: 0.98
FluidDispose
Pipeline
Capacity: 25
Pipeline Tank Limited rate:
FluidSplit Capacity: 15 Capacity: 4000 Maximum rate: 0.5 cubic meters/s
Mode: Proportional Initial amount: 2000
Fraction 1: 0.3
Fraction 2: 0.7
Fluid Split
Mode: Proportional
Duplicate flowchart blocks
by Ctrl + dragging
(Mac OS: Cmd + dragging)
TrainMoveTo
TrainMoveTo FluidDropoff Direction: Backward
Target is: A given Fluid to dropoff: Target is: A given
position on track 800 cubic meters position on track
Position on track: Rate: 0.2 cubic Position on track:
pointArrival meters / s pointDeparture
TrainDispose
TrainSource
Interarrival time: 48 hours
# of cars (including loco): 10
Entry point defined as:
Offset on the track
Railway track: railwayTrack
Offset from: From the
beginning of the track Delete FluidSource
Offset 1st car: 140 meters
If the arrival point is already occupied by a train, a new train will not move to it but will
rather move back and disappear from the system.
Delete the FluidSource block and its connection with the Pipeline block.
FluidDropoff block
The FluidDropoff block of the Fluid Library drops off fluid from the agents passing through.
An agent, which is a train in our case, is assumed to have a certain amount of fluid to drop off.
Upon arrival of an agent, the block starts the outflow. By adding this block and connecting its
outFluid port to the first Pipeline block we are effectively replacing the FluidSource block,
which is no more needed.
Event
Name: fuelDispatch
Trigger type: Timeout
Mode: Cyclic
Recurrence time: 8 hours
Action: randomFrom(valves).dispense(140);
Set up the
rectangle properties
This expression sets Locomotive as the first car of the train and Tank Cars –
as the remaining cars.
Custom batches:
Custom batch color:
Batch color: black
Custom batches:
Custom batch color:
Batch color: black
Batches
Fluid or bulk matter in the Fluid Library can be of different types, called batches.
Whenever a new batch is created, you can specify the color of the batch. That color will
then show in the flowchart and in the animation. The batch-to-color mapping, however,
is not maintained: if you, say, set yellow color for the “Diesel” batch in one object, and
brown color for the batch also called “Diesel” in another object, these two batches will
have different colors unless they merge, in which case one of the colors will be kept.
Add three
FluidConvert blocks
Add 3D Window
Select Simulation
Type: int
On empty: productionInterruptions++;
On full: productionInterruptions++;
In the Scale section, set the chart’s Time window to 100 days.
In the Appearance section, clear the Fill area under line checkbox.
Run the model and switch to the [Statistics] section. You will see the currently
available amount of crude oil and refined products, dispatched product
amounts and the number of occurred production interruptions.
Type: int
Default value: 8
Type: int
Default value: 140
Type: int
Default value: 48
Type: int
Default value: 700
trainSource fluidDropoff
Interarrival time: trainInterarrivalTime Fluid to dropoff: trainCapacity
Select Optimization