File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -614,16 +614,16 @@ dyexp["pulse_schedule.tf.b_field_tor_vacuum.reference"] =
614614dyexp[" pulse_schedule.tf.time" ] =
615615 (time; dd, _... ) -> dd. equilibrium. time
616616
617- #= ========= =#
618- # stability #
619- #= ========= =#
620- dyexp[" stability .model[:].cleared" ] =
621- (time; model, _... ) -> Int .(model. fraction .<= 1.0 )
622-
623- dyexp[" stability .all_cleared" ] =
624- (time; stability , _... ) -> begin
617+ #= ====== =#
618+ # limits #
619+ #= ====== =#
620+ dyexp[" limits .model[:].cleared" ] =
621+ (time; model, _... ) -> Int .(model. fraction .< 1.0 )
622+
623+ dyexp[" limits .all_cleared" ] =
624+ (time; limits , _... ) -> begin
625625 all_cleared = ones (Int, length (time))
626- for model in stability . model
626+ for model in limits . model
627627 all_cleared .= all_cleared .* model. cleared
628628 end
629629 return all_cleared
You can’t perform that action at this time.
0 commit comments