Move values between levels
Move values between levels
How can I move values between levels?
I have two level variables and I want to move X units from level A to level B, only when level A > 10000;also I want to move Y units from level B to level A, only when level A < 0.
How can I do it?Where do I have to write the ecuations, in the levels or in the rate?
Thank you very much
I have two level variables and I want to move X units from level A to level B, only when level A > 10000;also I want to move Y units from level B to level A, only when level A < 0.
How can I do it?Where do I have to write the ecuations, in the levels or in the rate?
Thank you very much
Moving values between level
Anyway is good as long it works and the better is the simplest.
There may be a simpler way, but I have not enough time to find it.
Joined a simple model.
To test it you must initialize A to -1000, run the model and verify the results and then intialize A to 11000 run the model and check the results.
Regards.
J.J. Laublé
There may be a simpler way, but I have not enough time to find it.
Joined a simple model.
To test it you must initialize A to -1000, run the model and verify the results and then intialize A to 11000 run the model and check the results.
Regards.
J.J. Laublé
- Attachments
-
- level.mdl
- (2.36 KiB) Downloaded 337 times
Moving values between levels
Simpler model joined.
J.J. Laublé
J.J. Laublé
- Attachments
-
- level2.mdl
- (2.12 KiB) Downloaded 325 times
Problems with model
In my model, X and Y aren´t variables. X is the diference between A - 10000 (when level A > 10000) and Y is Abs(A) (when A < 0).
How would be the model without X and Y ??
Thank you very much
How would be the model without X and Y ??
Thank you very much
moving values ...
Still simpler and more elegant.
J.J.L.
J.J.L.
- Attachments
-
- level3.mdl
- (2.06 KiB) Downloaded 317 times
moving values ...
There was a bug in the last model level4 that I did not take the time to test.
Here is a new one that works.
J.J.L.
Here is a new one that works.
J.J.L.
- Attachments
-
- level5.mdl
- (1.96 KiB) Downloaded 326 times
a little part of myymodel, help!
I send you a little part of my model, when I have to move values between levels.
I don´t know how I can move values between levels.
"BancoPastor" is the level A and "Activos financieros" is the level B
Thank you very much
[Edited on 3-28-2005 by slanefic]
I don´t know how I can move values between levels.
"BancoPastor" is the level A and "Activos financieros" is the level B
Thank you very much
[Edited on 3-28-2005 by slanefic]
- Attachments
-
- prueba3.mdl
- (2.36 KiB) Downloaded 309 times
moving values ...
at this stage I do not see what I can do to help you.
You have just to modify your model to implement my level5.mdl that Ï joined before.
I think that you need to study the Vensim user guide, chapter by chapter and eventually the modelling guide too.
Nobody can build the model for you, especially if you have not the minimum of basic knowledge!
Regards.
J.J. Laublé
You have just to modify your model to implement my level5.mdl that Ï joined before.
I think that you need to study the Vensim user guide, chapter by chapter and eventually the modelling guide too.
Nobody can build the model for you, especially if you have not the minimum of basic knowledge!
Regards.
J.J. Laublé
moving values
I have read the guides, but in your model , you only have a start rate in the levels.
In my model there is other rate in every level.
I think that it is possible because I have seen some simillar models.
Thank you very much
In my model there is other rate in every level.
I think that it is possible because I have seen some simillar models.
Thank you very much
-
- Super Administrator
- Posts: 4590
- Joined: Wed Mar 05, 2003 3:10 am
Is the attached model the kind of thing you want to do?
I do agree with J.J.L, it would be a good idea to spend a bit of time going over the tutorials, this is exactly the kind of thing that is usually covered (it covers a basic savings/income model which is what I think you are trying to do). Try looking at the PLE tutorial, it is available at
http://www.public.asu.edu/~kirkwood/sysdyn/VenPLE.pdf
Tony.
I do agree with J.J.L, it would be a good idea to spend a bit of time going over the tutorials, this is exactly the kind of thing that is usually covered (it covers a basic savings/income model which is what I think you are trying to do). Try looking at the PLE tutorial, it is available at
http://www.public.asu.edu/~kirkwood/sysdyn/VenPLE.pdf
Tony.
- Attachments
-
- demo.mdl
- (2.93 KiB) Downloaded 322 times
moving values
Here is joined the model that moves values plus inflows and outflows to and from the levels, that can be replaced ty anything else.
J.J. Laublé
J.J. Laublé
- Attachments
-
- level6.mdl
- (3.11 KiB) Downloaded 311 times
moving values
Thanks, I was looking for that model, I´m sorry if I´ve explained bad.