API Reference
BalanceOfPlantSurrogate
BalanceOfPlantSurrogate.BOPsurrogate
— Type(BOP::BOPsurrogate)(breeder_heat_load::Float64, divertor_heat_load::Float64, wall_heat_load::Float64)
Returns thermal efficiency of a BOP cycle given powers in W
BOPsurrogate(cycle_type::Symbol; data::String="BalanceOfPlantHypercubeN=10000.csv")
Loads BOP surrogate model for a specific cycle type [:rankine, :brayton]
BalanceOfPlantSurrogate.thermal_efficiency
— Functionthermal_efficiency(BOP::BOPsurrogate, breeder_heat_load::Float64, divertor_heat_load::Float64, wall_heat_load::Float64)
Predict thermal efficiency given a BOP cycle and powers in W
BalanceOfPlantSurrogate.thermal_efficiency_fractions
— Functionthermal_efficiency_fractions(BOP::BOPsurrogate, total_heat_load::Float64, breeder_fraction::Float64, divertor_fraction::Float64)
Predict thermal efficiency given a BOP cycle total power and fractions defined as
total
| | (1 - breeder_fraction)
breeder div+wall
| | (1 - div_fraciton)
div wall