roxieapi.cadata.StrandDefinition module¶
- class roxieapi.cadata.StrandDefinition.StrandDefinition(name: str = '', comment: str = '', d_strand: float = 0.0, f_cu_nocu: float = 0.0, rrr: float = 0.0, temp_ref: float = 0.0, b_ref: float = 0.0, j_c_at_b_ref_t_ref: float = 0.0, dj_c_over_db: float = 0.0)[source]¶
Bases:
Definition
Class for strand definition.
- d_strand¶
The strand diameter (mm).
- Type:
float
- f_cu_nocu¶
The Copper to superconductor ratio.
- Type:
float
- rrr¶
The Residual Resistivity ratio.
- Type:
float
- temp_ref¶
The Reference Temperature (K) for Bref. This value is never used in the code and serves
- Type:
float
- only for reference for Bref and Jc@BrTr.
- b_ref¶
The Reference Field for the definition of a linear approximation of the Jc curve.
- Type:
float
- j_c_at_b_ref_t_ref¶
The Critical current density at Bref for the definition of a linear approximation
- Type:
float
- of the Jc curve.
- Type:
LINMARG
- dj_c_over_db¶
dJc/dB at Bref and Tref for the definition of a linear approximation of the Jc curve.
- Type:
float
- (LINMARG)
- b_ref: float = 0.0¶
- compute_f_cu()[source]¶
Method fraction of copper in a strand
- Returns:
a fraction of copper in a strand (no unit)
- compute_f_nocu()[source]¶
Method fraction of non-copper in a strand
- Returns:
a fraction of non-copper in a strand (no unit)
- compute_surface()[source]¶
Method computing surface of a strand as S = pi * d_strand^2 / 4
- Returns:
a surface of a strand in mm^2
- compute_surface_cu()[source]¶
Method computing copper surface of a strand as S = f_co * pi * d_strand^2 / 4
- Returns:
a copper surface of a strand in mm^2
- compute_surface_nocu()[source]¶
Method computing non-copper surface of a strand as S = f_nocu * pi * d_strand^2 / 4
- Returns:
a non-copper surface of a strand in mm^2
- d_strand: float = 0.0¶
- dj_c_over_db: float = 0.0¶
- f_cu_nocu: float = 0.0¶
- static get_magnum_to_roxie_dct() dict [source]¶
Method returning a mapping from MagNum naming convention to ROXIE naming convention.
- Returns:
a dictionary from MagNum to ROXIE names
- j_c_at_b_ref_t_ref: float = 0.0¶
- rrr: float = 0.0¶
- temp_ref: float = 0.0¶