<Fraction of possible in flow into the reservoir (0-1)
<net flow rate out of the reservoir
Outputs are:
>current reservoir level
>reservoir status (0 if empty, 1 if not empty)
>net flow into reservoir"
N.44="const"(4)*7x57<M>
N.45="variable"*16x57<M>
n=":Reservoir Max"
N.46="variable"*4x37<M>
n=":Reservoir Max"
N.47="<"*26x35<M>
N.48="*"*52x32<M>
N.49="variable"*61x33<M>
n=":flow in"
N.50="variable"*16x61<M>
n=":inflow rate"
N.51="const"(1.5)*7x61<M>
N.52="variable"*20x40<M>
n=":inflow rate"
N.53="variable"*104x33<M>
n=":Reservoir Level"
N.54="variable"*105x10<M>
n=":Reservoir Level"
N.55="variable"*4x35<M>
n=":Reservoir Level"
N.56="variable"*60x42<M>
n=":flow in"
N.57="variable"*5x49<M>
n=":flow out"
N.58="variable"*60x45<M>
n=":flow out"
N.59="variable"*28x28<M>
n="NY Sales"
N.60="variable"*47x18<M>
n="Bos Sales"
N.61="Compound"*17x14#2,2<MC>
n="Warehouse"
Ms=780,0,0,532,0,0
N.62="summingJunction"*20x38<M>
N.63=">"*82x35<M>
N.64="const"(0)*75x36<M>
N.65="wireLabel"*113x14<M>
n="reservoir level"
N.66="wireLabel"*111x53<M>
n="reservoir status"
N.67="wireLabel"*2x52<M>
n="flow out"
N.68="comment"*27x0*67x21<M>
C="Generalized Reservoir model
Inputs are:
net flow rate into the reservoir
net flow rate out of the reservoir
Outputs are:
current reservoir level
out flow percent"
N.69="gain"(1)*15x50<MR>
N.70="variable"*63x15
n="New York Inventory"
N.71="variable"*63x18
n="Boston Inventory"
N.72="variable"*63x21
n="Warehouse 1-Widget Count"
N.73="variable"*96x56<M>
n=":Warehouse 1-Widget Count"
N.74="comment"*26x0*92x12
C="This block diagram simulates widget production and distribution.
The widget production rate can be varied using theWidget Production Rate slider block. The sales rates for New York and Boston can be varied by clicking the right mouse button over the constant blocks feeding the \"NY Sales\" and \"Bos Sales\" blocks. Distributor purchase rates and maximum inventory capacity are set inside the Widget Distribution Model compound block under the individual distributors (Distributor 1 and Distributor 2.) The variables \"inflow\" and \"reservoir max\". "
N.75="variable"*27x31
n="New York Inventory"
N.76="variable"*28x40
n="Boston Inventory"
N.77="variable"*112x56<M>
n=":flow in"
N.78="merge"*38x36<M>
N.79="variable"*16x42<M>
n=":flow out"
N.80="merge"*40x38<M>
N.81="variable"*20x43<M>
n=":flow out"
N.82="merge"*96x45<M>
N.83="const"(1)*87x47<M>
N.84="/"*33x48<M>
N.85="limit"(1e-010,10000000000)*16x49<M>
N.86="limitedIntegrator"(3,0)*99x43<M>
N.87="const"(0)*91x49<M>
N.88="variable"*74x48<M>
n=":Reservoir Max"
N.89="limitedIntegrator"(2,2)*95x46<M>
N.90="const"(0)*87x51<M>
N.91="limitedIntegrator"(10,1)*63x30<M>
N.92="const"(0)*54x35<M>
N.93="const"(100)*54x32<M>
N.94="comment"*30x0*67x23<M>
C="Generalized Reservoir model
Inputs are:
<Fraction of possible in flow into the reservoir (0-1)