idaes-pse icon indicating copy to clipboard operation
idaes-pse copied to clipboard

Ensure pressure changer documentation covers PR #925

Open adam-a-a opened this issue 3 years ago • 5 comments

Based on the changes made in PR #925, we should ensure that the existing documentation adequately explains how certain config options might affect creation of the pressure_changer unit.

adam-a-a avatar Aug 08 '22 14:08 adam-a-a

@adam-a-a is this something for the Aug release (as in within the next week)?

ksbeattie avatar Aug 11 '22 18:08 ksbeattie

@adam-a-a I'm guessing that a "no".

ksbeattie avatar Aug 18 '22 18:08 ksbeattie

@ksbeattie - sorry for missing your comment! I'll double check the existing documentation and see how in depth it already goes. If it was fairly vague about the issue in the first place, I'd push this off. If not, I could try to squeeze it in for the Aug release.

adam-a-a avatar Aug 18 '22 19:08 adam-a-a

Thanks, I've push it to Nov.

ksbeattie avatar Aug 18 '22 20:08 ksbeattie

@adam-a-a, can you take another look at this?

ksbeattie avatar Oct 13 '22 18:10 ksbeattie

I am trying to conclude this issue. The current doc for the pressure_change, https://idaes-pse.readthedocs.io/en/stable/reference_guides/model_libraries/generic/unit_models/pressure_changer.html, does not have obvious text in conflict to the changes made in PR #925 . The only slight relation is the work_mechanical var listed in the Variables table, where it is noted to reference control_volume.work. If we want to note the change, I can add footnote under the table saying control_volume.work can still be constructed even if energy_balance is none. However, the current doc is just fine in my view. I'd like to consult @andrewlee94 and others if you would like to put such a note or leave as is. I can then close this issue with or without a tiny PR.

lbibl avatar Nov 28 '22 19:11 lbibl

@lbibl work_mechanical is the issue here - the fact that the model does certain things if control_volume.work does not exist needs to be documented somehow. It does not need to be much (e.g. a note block), but it does need to explain what happens in these case any why it might be useful.

andrewlee94 avatar Nov 28 '22 20:11 andrewlee94