-
Notifications
You must be signed in to change notification settings - Fork 17
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
Consultation on modifying all unit costs #151
Comments
Hello, could someone help look at this problem. |
@yoelcortes, @yalinli2, @sarangbhagwat Hello, could you help look at this problem. |
I try to use tea.FCI *= 0.83, but AttributeError: can't set attribute 'FCI' was reported. |
I think you should be able to directly update the |
@yalinli2 Thank you for your answer. I try to call investment_site_factors with TEA.investment_site_factors, but I get the following result.
If I want to set the investment_site_factors of the process to 0.83 and the country is China, may I ask you how to set it? After setting, could I consult you how to call |
@yalinli2 I did not find the use of |
I'm not sure if there's a better way to do it, but I imagine you can just make a new TEA class, then set TEA.investment_site_factors['China'] = 0.83 Then set the |
Thanks for your advice, I have created the following code, but there are still errors The code is as follows.
|
@yalinli2 I try to use the following code. The code can run well. But when I check the ratio of the FCI after multiplying the location factor to the FCI before multiplying the location factor, it's not 0.83, it's 0.78, which doesn't seem right.
|
you probably want to look into each step of the calculation and figure out where the discrepancy was |
Thank you for your suggestion. According to the code for calculating FCI (https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/tea/cellulosic_ethanol_tea.py#L150-L152), I have changed the code to the following code. And I check the ratio of the FCI after multiplying the location factor to the FCI before multiplying the location factor, it's 0.83. Could I confirm with you that the following code is correct.
|
a) Hello, since BioSTEAM does not have
Chinese investment_site_factors
(https://biosteam.readthedocs.io/en/latest/API/TEA.html#:~:text=investment_site_factors%3A%20dict%5Bstr%2C%20float%5D%20%3D%20%7B%27India%27%3A%200.85%2C%20%27Japan%27%3A%201.15%2C%20%27Mexico%27%3A%200.95%2C%20%27Pacific%20Rim%27%3A%201.0%2C%20%27U.S.%20Gulf%20Coast%27%3A%201.0%2C%20%27U.S.%20Midwest%27%3A%201.15%2C%20%27U.S.%20Northwest%27%3A%201.1%2C%20%27U.S.%20Southwest%27%3A%200.95%2C%20%27U.S.%20West%20Coast%27%3A%201.25%2C%20%27Western%20Europe%27%3A%201.2%7D), may I ask you how to callinvestment_site_factors
when executing TEA and how to callChinese investment_site_factors (0.83)
when executing TEA ? Because I didn't find any tutorials forinvestment_site_factors
.b) Or I can modify the unit cost according to the tutorial in
TAL
model (https://github.com/agvaughan/Bioindustrial-Park/blob/8ce1740633fac93821137019eaec11be0f5d94a2/biorefineries/TAL/analyses/models_ethyl_esters.py#L194-L200), but I can only change the cost of some units through the following code (only the unit with cost_items), could I consult you how to modify the cost of all units in the system?The text was updated successfully, but these errors were encountered: