Hello everyone,
I am facing a small problem that I somehow can not solve alone.
With the help of the program I have mapped a recycling process in which two results are available. The mass of recycled material in kg and the CO2 lost in kg.
At the end, the CO2 produced should be divided by the recycled material displayed.
The background is that we have the amount of CO2 consumed by the new material.
This value represents the maximum slope, is there a function for this?
Or does anyone have another idea how to display this final value.
Showing maximum Slope
-
- Junior Member
- Posts: 5
- Joined: Mon Apr 03, 2023 9:20 am
- Vensim version: PLE
-
- Super Administrator
- Posts: 4827
- Joined: Wed Mar 05, 2003 3:10 am
Re: Showing maximum Slope
I'm not sure I really understand what you are trying to get at.
Are you trying to calculate
max slope = CO2 produced / recycled material displayed
You don't need any special function for this. You might want to use ZIDZ to prevent any floating point errors.
Are you trying to calculate
max slope = CO2 produced / recycled material displayed
You don't need any special function for this. You might want to use ZIDZ to prevent any floating point errors.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Showing maximum Slope
You can use SAMPLE IF TRUE if you're trying to capture the maximum over time.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Junior Member
- Posts: 5
- Joined: Mon Apr 03, 2023 9:20 am
- Vensim version: PLE
Re: Showing maximum Slope
Thanks for the hints, I think I have a thinking error in there.
Actually I need only the final value as output under "CO2 per kg".
I have attached the model here.
Actually I need only the final value as output under "CO2 per kg".
I have attached the model here.
- Attachments
-
- LCA 3-Druck Materialfluss vereinfacht.mdl
- (17.36 KiB) Downloaded 321 times
-
- Junior Member
- Posts: 5
- Joined: Mon Apr 03, 2023 9:20 am
- Vensim version: PLE
Re: Showing maximum Slope
When running the simulation, I get a n very high value for CO2/Kg at the beginning. I need only the final values for these variables to perform the operation.
-
- Super Administrator
- Posts: 4827
- Joined: Wed Mar 05, 2003 3:10 am
Re: Showing maximum Slope
I'd suggest fixing the unit errors before you look at any results from the model.
To get the final values, display a table of the parameter you need, the values will be there.
To get the final values, display a table of the parameter you need, the values will be there.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559