Skip to content

LCA not working for preprocessing area #177

Answered by yalinli2
Uzair1shah asked this question in Q&A
Discussion options

You must be logged in to vote

I kind of know what was wrong but I don't use the LCA functions of biosteam so I'm not sure if the fix I mentioned is the right way. Essentially when you are allocating based on economic value, all revenue properties of the power, heat utilities (including heating and cooling), and streams are 0.

I'm guessing it's because the system isn't producing any electricity/heat, and you didn't assign price to any of the products. So there's no way to allocate because there's no revenue from any of the products.

Assigning price would let the program run:

for s in sys.products: s.price = 1

GWP_per_USD = sys.get_property_allocated_impact(
    key=GWP, name='cost', basis='USD', # Revenue basis defaul…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Uzair1shah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants