Closed jdebacker closed 5 years ago
Do you want me to add this function to household.py
as well since the functions are split into separate modules?
@duncanhobbs, That'd be great. I think we will be removing equations.py
soon and keeping the functions in separate modules to help with organization.
The function for consumer demand for commodity
i
,CGE_equations.eqXp()
, is given as:The term in brackets,
((pf * Ff).sum() - Sp - Td - Fsh + Trf)
is equal toI
.It might be easier to think about how this function matches up to the theory if
I
were computed in a separate function and passed to theeqXp()
equation.