Skip to content

Commit

Permalink
SOC Flowsheet (#100)
Browse files Browse the repository at this point in the history
* New notebook soc_pid_con in directory docs/power_gen/solid_oxide_cell

* Preliminary work on getting notebook ready.

* bring pid example up to date

* remember to save

* do preprocessing

* add soc_dynamic_flowsheet.svg to gitignore

* make gitignore and checking results work

* delete wrong flowsheet

* update initial conditions

* delete irrelevant file

* update to merged crossflow_hx nomenclature

* run idaesx pre

* Final touchup

* run idaesx pre

---------

Co-authored-by: Ludovico Bianchi <lbianchi@lbl.gov>
  • Loading branch information
dallan-keylogic and lbianchi-lbl authored Apr 24, 2024
1 parent ff71e7c commit b4d95e0
Show file tree
Hide file tree
Showing 12 changed files with 14,226 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ idaes_examples/notebooks/**/pysmo/*.pickle
idaes_examples/notebooks/**/omlt/keras_surrogate/*.pb
idaes_examples/notebooks/**/omlt/keras_surrogate/*.pdf
idaes_examples/notebooks/**/omlt/*.pdf
idaes_examples/notebooks/docs/power_gen/solid_oxide_cell/soc_dynamic_flowsheet.svg
alamo_run.alm
idaes_examples/notebooks/docs/tut/sin_data.csv
*.pb
Expand Down
1,472 changes: 1,472 additions & 0 deletions idaes_examples/mod/power_gen/soc_dynamic_flowsheet.py

Large diffs are not rendered by default.

2,765 changes: 2,765 additions & 0 deletions idaes_examples/mod/power_gen/soc_dynamic_template.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions idaes_examples/notebooks/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ parts:
sections:
- file: docs/power_gen/supercritical/supercritical_power_plant_doc
- file: docs/power_gen/supercritical/supercritical_steam_cycle_doc
- file: docs/power_gen/solid_oxide_cell/index
sections:
- file: docs/power_gen/solid_oxide_cell/soc_pid_control_doc
# -----------------------------
# active (not documented)
# -----------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Power generation - Solid Oxide Cell
Binary file not shown.
Binary file not shown.
2,551 changes: 2,551 additions & 0 deletions idaes_examples/notebooks/docs/power_gen/solid_oxide_cell/soc_pid_control.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
header,h2_production_rate,potential,current,soc_fuel_outlet_mole_frac_comp_H2,makeup_feed_rate,sweep_feed_rate,feed_heater_duty,feed_heater_outlet_temperature,fuel_outlet_temperature,sweep_heater_duty,sweep_heater_outlet_temperature,sweep_outlet_temperature,stack_core_temperature,fuel_recycle_ratio,sweep_recycle_ratio,oxygen_out,hydrogen_in,vgr_recycle_ratio,condenser_heat_duty,condenser_hot_outlet_temperature,makeup_mole_frac_comp_H2,makeup_mole_frac_comp_H2O,h2_production_rate_controller_gain_p,h2_production_rate_controller_gain_i
minimum_H2,0.400000043,1.141922158,-38287830.21,0.748999402,264.9080126,500.0000943,1000060.544,957.5339578,953.7220215,5551430.778,1066.174445,923.3955989,930.5036167,1,1,0.338625145,0.374537151,0.00010001,-2791639.925,323.15,1.00E-14,0.999,200,0.167
maximum_H2,2,1.320661391,-191439151,0.748999944,1324.539104,2261.014098,1000001.35,941.4824918,985.9891318,1000004.672,969.363348,985.5734833,993.0692658,1,1,0.350000009,0.374537422,0.00010001,-15546107.03,323.15,1.00E-14,0.999,200,0.167
power,-0.9191892,0.877196719,87984400,0.570713634,595.7763042,7128.706428,100000,956.284432,962.5134067,100000,935.852964,1012.860212,991.8707451,0.999999992,0.999999974,0.181215563,0.749393267,4.99999999,-27371480.23,323.15,0.969,0.03,-100,-0.0833

0 comments on commit b4d95e0

Please sign in to comment.