NPV not changing even by changing product price #179
-
Hello, I have been working on preprocessing area of biorefinery using BioSTEAM. I can run TEA and LCA successfully, however the results of TEA do not change when I change the price of product. In my case, S101 (feedstock) is the input of preprocessing and S114 (price defined by "dry feedstock" in price dictionary) is the product of preprocessing area. I am getting negative NPV and negative IRR, so I wanted to check at what price of dry feedstock, the preprocessing will be profitable. I used the following code "price = tea.solve_price(feed)" to get the breakeven price. But even by changing the price of output stream, the NPV and IRR value stays the same. I have been wondering if I made some error in the code or is there some bug? II went through documentation multiple times but still could not figure out this part. would really appreciate it if you can help me through it. The main code I have been working with is as follows:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@Uzair1shah, I just did a quick check. What you have listed as products are not products: assert products[0].isproduct() # This raises an AssertionError I recommend looking at the diagram for using sys.products to identify them. sys.products # -> [<Stream: S106>, <Stream: S110>, <Stream: S111>, <Stream: S116>] Thanks, |
Beta Was this translation helpful? Give feedback.
@Uzair1shah, I just did a quick check. What you have listed as products are not products:
I recommend looking at the diagram for using sys.products to identify them.
Thanks,