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

Modify FPP initial parameters for running feedback control scenario workflow #692

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions src/cases/FPP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ function case_parameters(::Type{Val{:FPP}})::Tuple{ParametersAllInits,Parameters
ini.equilibrium.𝚶 = 0.1
ini.equilibrium.pressure_core = 1.2e6
ini.equilibrium.ip = 8.0e6
ini.equilibrium.xpoints = :lower
ini.equilibrium.boundary_from = :scalars

ini.equilibrium.xpoints = :lower
#ini.core_profiles.greenwald_fraction = 1.0
#ini.core_profiles.greenwald_fraction_ped = 0.7
ini.core_profiles.ne_setting = :greenwald_fraction_ped
ini.core_profiles.ne_value = 0.1
ini.core_profiles.T_ratio = 0.825
ini.core_profiles.T_shaping = 2.5
ini.core_profiles.n_shaping = 2.5
ini.core_profiles.zeff = 2.0
ini.core_profiles.rot_core = 0.0
ini.core_profiles.bulk = :DT
ini.core_profiles.impurity = :Kr
ini.core_profiles.helium_fraction = 0.04
ini.core_profiles.helium_fraction = 0.05

ini.pf_active.n_coils_inside = 0
ini.pf_active.n_coils_outside = 5
Expand All @@ -82,6 +82,7 @@ function case_parameters(::Type{Val{:FPP}})::Tuple{ParametersAllInits,Parameters
ini.tf.shape = :miller
ini.tf.n_coils = 16
ini.tf.technology = :rebco
ini.tf.shape = :triple_arc

ini.oh.n_coils = 6
ini.oh.technology = :rebco
Expand All @@ -91,14 +92,20 @@ function case_parameters(::Type{Val{:FPP}})::Tuple{ParametersAllInits,Parameters
ini.ec_launcher[1].efficiency_transmission = 0.8

ini.requirements.power_electric_net = 2.0e8
ini.requirements.flattop_duration = 36000.0
ini.requirements.flattop_duration = 40000.0
ini.requirements.tritium_breeding_ratio = 1.1

Δt = 200 # change pulse duration to change rate of change of plasma dynamics
ini.time.pulse_shedule_time_basis = range(0.0, Δt; step=Δt / 1000)
ini.time.simulation_start = Δt / 2

#### ACT ####

act.ActorStabilityLimits.models = [:q95_gt_2, :κ_controllability]

act.ActorEquilibrium.model = :TEQUILA
act.ActorEquilibrium.model = :CHEASE

act.ActorTEQUILA.relax = 0.25

# finalize
set_new_base!(ini)
Expand Down
Loading