Skip to content
Snippets Groups Projects
Commit b5c4660d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

more comments

parent 6b867d59
No related branches found
No related tags found
No related merge requests found
Pipeline #5840 passed
......@@ -16,6 +16,9 @@
Include "transfo_common.pro";
DefineConstant[
// The "Massive" option is non-physical, but it's interesting to highlight the
// fact that both massive and stranded conductors can be handled in the same
// way as far as circuit-coupling is concerned
ConductorType = {2, Choices{1 = "Massive", 2 = "Coil"}, Highlight "Blue",
Name "Parameters/01Conductor type"}
Freq = {1, Min 0, Max 1e3, Step 1,
......@@ -63,8 +66,8 @@ Function {
SignBranch[Coil_2_M] = -1;
If(ConductorType == 2)
// Number of turns (same for PLUS and MINUS portions) (half values because
// half coils are defined)
// Number of turns in the coils (same for PLUS and MINUS portions) - half
// values because half coils are defined geometrically due to symmetry!
Ns[Coil_1] = 100;
Ns[Coil_2] = 200;
......@@ -117,8 +120,8 @@ Group {
Function {
deg = Pi/180;
// Input RMS voltage (half of the voltage because of symmetry; half coils
// are defined)
// Input RMS voltage (half of the voltage because of symmetry; half coils are
// defined!)
val_E_in = 1.;
phase_E_in = 90 *deg; // Phase in radian (from phase in degree)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment