[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-mcsim] Tailor GNU MCSim for special needs
From: |
fredomatic |
Subject: |
Re: [Help-mcsim] Tailor GNU MCSim for special needs |
Date: |
Wed, 16 Mar 2016 16:45:37 +0100 (CET) |
Hello,
I do not understand why you want (or need) to make x1 an input function, since
it is clearly a dependent variable.
Why don't you make it an output (or a local variable) and write
x1 = (V1 >= K ? K : V1);
F. Bois
----- Original Message -----
From: "Edgar Whyte" <address@hidden>
To: address@hidden
Sent: Wednesday, March 16, 2016 3:28:30 PM
Subject: [Help-mcsim] Tailor GNU MCSim for special needs
To whom it may concern
I am working on a Monte Carlo simulation and I am interested in using the GNU
MCSim software.
>From the documentation the software seems to cater to my needs except for the
>change of certain input variables based on other output variables eg:
inputs = {x1}
outputs = {V1,
V2,
V3}
V1 = (function of some inputs and parameters)
K = (some constant)
If V1 >= K then:
x1 = K
else:
x1 = V1
V2 = x
V3 = V1 - x
>From this example it is simple to write V2 and V3 in terms of V1, but for my
>simulations I the model output equations are set up automatically and can't
>change them.
I s it possible to use the software in this way.
Regards
ED Whyte
UP Student
Student Number: 120 71 855
_______________________________________________
Help-mcsim mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-mcsim