Skip to content

Commit da2b549

Browse files
🐛 Fix bop example (#4153)
* 🐛 Fix bop example * 🎨 Add representative values * slightly better values --------- Co-authored-by: matti <[email protected]>
1 parent 7dfc0b8 commit da2b549

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

examples/balance_of_plant/steady_state_example.ex.py

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
BoPModelParams,
3333
H2OPumping,
3434
HePumping,
35-
NeutronPowerStrategy,
3635
ParasiticLoadStrategy,
3736
PredeterminedEfficiency,
3837
RadChargedPowerStrategy,
@@ -53,22 +52,20 @@
5352
"P_rad": {"value": 400e6, "unit": "W", "source": "example"},
5453
"P_hcd_ss": {"value": 50e6, "unit": "W", "source": "example"},
5554
"P_hcd_ss_el": {"value": 150e6, "unit": "W", "source": "example"},
55+
"P_n_blanket": {"value": 1.8e9, "unit": "W", "source": "example"},
56+
"P_n_divertor": {"value": 200e6, "unit": "W", "source": "example"},
57+
"P_n_vessel": {"value": 4e6, "unit": "W", "source": "example"},
58+
"P_n_aux": {"value": 30e6, "unit": "W", "source": "example"},
59+
"P_n_e_mult": {"value": 600e6, "unit": "W", "source": "example"},
60+
"P_n_decay": {"value": 25e6, "unit": "W", "source": "example"},
5661
})
5762

5863
# %% [markdown]
5964
#
60-
# We then weed to specify how we're going to treat the neutrons, radiation, and charged
65+
# We then weed to specify how we're going to treat the radiation, and charged
6166
# particle loads. We do this by specifying "strategies".
6267

6368
# %%
64-
neutron_power_strat = NeutronPowerStrategy(
65-
f_blanket=0.9,
66-
f_divertor=0.05,
67-
f_vessel=0.04,
68-
f_other=0.01,
69-
energy_multiplication=1.35,
70-
decay_multiplication=1.0175,
71-
)
7269
rad_sep_strat = RadChargedPowerStrategy(
7370
f_core_rad_fw=0.9,
7471
f_sol_rad=0.75,
@@ -132,7 +129,6 @@ def calculate(self, p_fusion):
132129
HCPB_bop = BalanceOfPlantModel(
133130
default_params,
134131
rad_sep_strat=rad_sep_strat,
135-
neutron_strat=neutron_power_strat,
136132
blanket_pump_strat=blanket_pump_strat,
137133
divertor_pump_strat=divertor_pump_strat,
138134
bop_cycle_strat=bop_cycle,
@@ -155,21 +151,14 @@ def calculate(self, p_fusion):
155151
# that the energy multiplication is different too
156152

157153
# %%
158-
neutron_power_strat = NeutronPowerStrategy(
159-
f_blanket=0.9,
160-
f_divertor=0.05,
161-
f_vessel=0.04,
162-
f_other=0.01,
163-
energy_multiplication=1.25,
164-
decay_multiplication=1.002,
165-
)
166-
blanket_pump_strat = H2OPumping(0.005, eta_isentropic=0.99, eta_electric=0.87)
167-
bop_cycle = PredeterminedEfficiency(0.33)
154+
blanket_pump_strat = H2OPumping(0.005, eta_isentropic=0.95, eta_electric=0.87)
155+
bop_cycle = PredeterminedEfficiency(0.31)
156+
157+
default_params.P_n_e_mult.value = 340e6
168158

169159
WCLL_bop = BalanceOfPlantModel(
170160
default_params,
171161
rad_sep_strat=rad_sep_strat,
172-
neutron_strat=neutron_power_strat,
173162
blanket_pump_strat=blanket_pump_strat,
174163
divertor_pump_strat=divertor_pump_strat,
175164
bop_cycle_strat=bop_cycle,

0 commit comments

Comments
 (0)