Hot answers tagged simulation
3
You might use rule replacement (instead of variable assignment) to inject specific values for the parameters.
ee = C1 - 10 + PG/2 + GC1 + GL1 == 0 &&
C2 - 15 + PG/2 + GC2 + GL2 == 0 && GL1 - fd (a1) t 10 == 0 &&
GL2 - fd (a2) t 15 == 0 &&
GC1 - (t (1 - fd) 25 - PG) ((p1)/((p1) + (p2))) == 0 &&
GC2 - (t ...
2
I didn't manage to make it work with RandomFunction, but if you would consider running simulations without it you could use TruncatedDistribution.
Define the parameters :
mu = 5/100; sigma = 15/100; x0 = 100;
xmin = 80; xmax = 200;
tmin = 1/100; tmax = 10; dt = 1/100;
Define the truncated distribution :
trDist[xmin_, xmax_, mu_, sigma_, x0_, t_] := ...
Only top voted, non community-wiki answers of a minimum length are eligible