New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demand eq #27
Demand eq #27
Conversation
@@ -32,7 +32,8 @@ class NOInst(Institution): | |||
doc="A list of commodities that the institution will manage.", | |||
tooltip="List of commodities in the institution.", | |||
uilabel="Commodities", | |||
uitype="oneOrMore" | |||
uitype="oneOrMore" | |||
) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happened here? Was this always missing a closing parenthesis ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I pulled from ergs/develop and it was missing a parenthesis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weird
Thanks for fixing it !
Demand eq
d3ploy/no_inst.py
Outdated
self.commodity_demand[commod] = defaultdict(float) | ||
self.fac_supply[commod] = {} | ||
self.commod_to_fac[commod] = [] | ||
self.fresh = False | ||
|
||
def tock(self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing a colon here
Could you change the |
Merge pull request #27 from jbae11/demand_eq
Makes the changes from
initial_demand
+growth_rate
todemand_eq
.Now the user can define the demand equation of the driving commodity instead of being restricted to the
(1+r)^(t)
format