Skip to content
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

More flexible hydrothermal units #125

Open
yalinli2 opened this issue Oct 18, 2024 · 5 comments
Open

More flexible hydrothermal units #125

yalinli2 opened this issue Oct 18, 2024 · 5 comments

Comments

@yalinli2
Copy link
Member

@jiananf2 FYI, I'm hoping to update the hydrothermal units so that they are more flexible (i.e., not written in the context of sludge/WWTP, not necessarily using the predictive models, etc.). In the future, I probably will move your hydrothermal/hydroprocessing units to the htl module in EXPOsan and put the new units (still largely based on your codes) in QSDsan.

I'm using this issue to document the changes.

@yalinli2
Copy link
Member Author

In Hydrocracking, the two hxs are defined as heat_exchanger_H2 and heat_exchanger_oil, is the name correct in defining the auxiliary units? I tried to change the names but it'll trigger the error, so I'm suspecting that those hxs were not included in the simulation. Also not sure if their costs were included.

auxiliary_unit_names=('compressor','heat_exchanger',)

@yalinli2
Copy link
Member Author

@jiananf2 why are the products from Hydrocracking/Hydrotreating in gas phase?

hc_out.phase = 'g'

ht_out.phase = 'g'

@yalinli2
Copy link
Member Author

@jiananf2 why are the products from Hydrocracking/Hydrotreating in gas phase?

hc_out.phase = 'g'

ht_out.phase = 'g'

I think I know the reason, it's because of the mass allocation after vle... I'll just set the phase to be the same as the influent oil (g anyway)

@jiananf2
Copy link
Contributor

In Hydrocracking, the two hxs are defined as heat_exchanger_H2 and heat_exchanger_oil, is the name correct in defining the auxiliary units? I tried to change the names but it'll trigger the error, so I'm suspecting that those hxs were not included in the simulation. Also not sure if their costs were included.

auxiliary_unit_names=('compressor','heat_exchanger',)

After I changed the names, HXN had an error. This is because the heat is not balanced. The hydrotreating and hydrocracking reactions release heat. I just increased the output temperatures in the current model without modeling the released heat.

@yalinli2
Copy link
Member Author

@jiananf2 OK thanks for letting me know, I don't think the costs (not sure of the utilities, I didn't check) were included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants