cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Use end result as input for next calculation

FDS
12-Amethyst
12-Amethyst

Use end result as input for next calculation

This is most likely a very stupid question but I do not succeed in this simple program. Attached is a MC 15 file I would like to automate in a small program the process mentioned in the highlighted comment. Would anyone be so kind to help me out as I do not "see" it right now.

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:FDS)

OK, here is the all in one version

Werner_E_0-1597596671566.png

Or a bit shorter:

Werner_E_0-1597611444273.png

 

And in case that you also need the intermediate results, here's a way to get them:

Werner_E_0-1597596805964.png

 

MC15 worksheet attached

View solution in original post

4 REPLIES 4
Werner_E
24-Ruby V
(To:FDS)

Hct.cyclestart should be replaced in eq. 6 and 7 but not in eq 5, which you wrote after eq. 6 and before eq. 7? Are you sure?

Obviously you'll need to use a "while" loop to do the iterations.

Why don't you make k and V.blood an argument of function CS, too?

Here is an approach using your function CS, assuming that the value in eq.5 has to be replaced, too:

Werner_E_0-1597595557076.png

Of course its not mandatory to split the calculation into two functions. I was simply lazy 😉

 

 

Werner_E
24-Ruby V
(To:FDS)

OK, here is the all in one version

Werner_E_0-1597596671566.png

Or a bit shorter:

Werner_E_0-1597611444273.png

 

And in case that you also need the intermediate results, here's a way to get them:

Werner_E_0-1597596805964.png

 

MC15 worksheet attached

FDS
12-Amethyst
12-Amethyst
(To:Werner_E)

Werner I must have had a complete blackout... but you made my morning. Thank you for your assistance.

Top Tags