Market action
Market action
Hi,
I am stuck trying to figure out how to get a market action to work.
I am basically trying to match supply and demand bids for a certain good, I have three entity types: Market, Supply, and Demand. Supply and demand entities have a auxiliaries "amount" and "quantity", denoting respectively the requested amount and the requested priority. The singular Market entity is the owner of the action and determines when to clear the market. However, when creating the action, I do not have access to the auxiliaries of refSupply or refDemand, even if the Collection in the market operator is set to respectively Supply[] or Demand[]. In contrast, with the Allocate action, set up in exactly the same way, I can access those, and it functions.
I attach my model to show the problem.
I am stuck trying to figure out how to get a market action to work.
I am basically trying to match supply and demand bids for a certain good, I have three entity types: Market, Supply, and Demand. Supply and demand entities have a auxiliaries "amount" and "quantity", denoting respectively the requested amount and the requested priority. The singular Market entity is the owner of the action and determines when to clear the market. However, when creating the action, I do not have access to the auxiliaries of refSupply or refDemand, even if the Collection in the market operator is set to respectively Supply[] or Demand[]. In contrast, with the Allocate action, set up in exactly the same way, I can access those, and it functions.
I attach my model to show the problem.
Re: Market action
Sorry for the mistake, it should read that both Supply and Demand entities have an "amount" and "price" auxiliary, denoting respectively their amount and priority for the market clearing.
Re: Market action
We're back from the holiday and will take a look.
/*
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
*/
Re: Market action
There is indeed a bug. We're working on it.
/*
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
*/
Re: Market action
We've identified the problem in the Market Action and will be releasing a fix before the end of the year. Thanks for pointing out this issue!
Re: Market action
If you email us at info at ventity.biz, we have a build that fixes this.
/*
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
*/
Re: Market action
Hi,
I was wondering how can I use different allocation functions such as DEMAND/SUPPLY AT PRICE or FIND MARKET PRICE in Ventity?
I was wondering how can I use different allocation functions such as DEMAND/SUPPLY AT PRICE or FIND MARKET PRICE in Ventity?
Re: Market action
In Ventity, these are implemented as actions. They're in the Actions section under Defining Entity Types in the Help.
/*
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
*/
Re: Market action
I'm pretty sure the market price already works.
/*
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
*/
Re: Market action
I'll find an example.
/*
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
*/
Re: Market action
Actually, you're right - it's still returning 0. I'll bump up the priority and see what ETA looks like.
/*
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
*/
Re: Market action
Yes - but I'm also wondering if there's some way to reverse-engineer the value out of the results that are available now.
/*
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
*/
Re: Market action
Actually, the two-sided Market action does populate the clearing price. So, I think a workaround for now would be to use the two sided version, even if the supply or demand side only has one entity.
/*
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
*/
Re: Market action
What about one sided action? Does it support Market with one demander and several suppliers?
Re: Market action
Yes - that should work. It'll just be processing a collection of 1 entity on one side of the market. I'll see if I can come up with an example.
/*
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
*/
Re: Market action
That would be great. The examples in this link might be useful for designing a one to many allocation:
viewtopic.php?f=2&t=7034