From 7aa9906ddace725ffa6a91533fa8814e36028eb7 Mon Sep 17 00:00:00 2001 From: Your GitHub Username Date: Fri, 28 Jun 2024 10:40:01 +0100 Subject: [PATCH 1/3] Add pf active mappings from hackmd --- mappings/pf_active/globals.json | 136 +++++++++++++++++++++++++++++++ mappings/pf_active/mappings.json | 103 +++++++++++++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 mappings/pf_active/globals.json create mode 100644 mappings/pf_active/mappings.json diff --git a/mappings/pf_active/globals.json b/mappings/pf_active/globals.json new file mode 100644 index 0000000..951cd06 --- /dev/null +++ b/mappings/pf_active/globals.json @@ -0,0 +1,136 @@ +{ + "coil_turn_counts": [ + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [1.0], + [0.3475024, 0.1524976, 0.3475024, 0.1524976], + [0.3475024, 0.1524976, 0.3475024, 0.1524976], + [0.1893084, 0.0833274, 0.1510167, 0.0833288, 0.1893084, 0.0783799, 0.1510168, 0.0743137], + [0.1893084, 0.0833274, 0.1510167, 0.0833288, 0.1893084, 0.0783799, 0.1510168, 0.0743137], + [0.2499999, 0.2500001, 0.2499999, 0.2500001], + [0.2499999, 0.2500001, 0.2499999, 0.2500001], + [0.2494422, 0.2505578, 0.2494422, 0.2505578], + [0.2494422, 0.2505578, 0.2494422, 0.2505578], + [0.3502306, 0.1497694, 0.3502306, 0.1497694], + [0.3502306, 0.1497694, 0.3502306, 0.1497694] + ] + "coil_r": + [ + [0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0 .119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.1 19, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119 , 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1 446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.144 6252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.14462 52, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252 , 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0. 1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252], + [0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378], + [0.4884, 0.4884, 0.4884, 0.4884, 0.4884, 0.4884, 0.4624, 0.4624, 0.4624, 0.4624, 0.4624, 0.4624], + [0.5154, 0.5154, 0.5154, 0.5154, 0.5414, 0.5414, 0.5414, 0.5414], + [0.487, 0.487, 0.487, 0.487, 0.487, 0.487, 0.461, 0.461, 0.461, 0.461, 0.461, 0.461], + [0.514, 0.514, 0.514, 0.514, 0.54, 0.54, 0.54, 0.54], + [1.0685, 1.0685, 1.0915, 1.0915, 1.1145, 1.1145, 1.1375, 1.1375], + [1.0682, 1.0682, 1.0912, 1.0912, 1.1142, 1.1142, 1.1372, 1.1372], + [1.4595, 1.4595, 1.4595, 1.4865, 1.4865, 1.4865, 1.5135, 1.5135, 1.5135, 1.5405, 1.5405, 1.5405, 1.5675, 1.5675, 1.5675, 1.4325, 1.4325, 1.4325, 1.4325, 1.4575, 1.4825, 1.5075001, 1.5325], + [1.461, 1.461, 1.461, 1.487, 1.487, 1.487, 1.513, 1.513, 1.513, 1.539, 1.539, 1.539, 1.5649999, 1.5649999, 1.5649999, 1.4349999, 1.4349999, 1.4349999, 1.4349999, 1.46, 1.485, 1.51, 1.535], + [1.6109999, 1.6109999, 1.6109999, 1.637, 1.637, 1.637, 1.663, 1.663, 1.663, 1.689, 1.689, 1.689, 1.7149999, 1.7149999, 1.7149999, 1.585, 1.585, 1.585, 1.585, 1.61, 1.635, 1.66, 1.6849999], + [1.6109999, 1.6109999, 1.6109999, 1.637, 1.637, 1.637, 1.663, 1.663, 1.663, 1.689, 1.689, 1.689, 1.7149999, 1.7149999, 1.7149999, 1.585, 1.585, 1.585, 1.585, 1.61, 1.635, 1.66, 1.6849999], + [1.4298, 1.4518, 1.4298, 1.4518], + [1.4294, 1.4513999, 1.4294, 1.4513999], + [0.4366062, 0.4985184, 0.5634307, 0.5015184], + [0.4366062, 0.4985184, 0.5634307, 0.5015184], + [1.0414311, 1.0538241, 1.0999304, 1.1460375, 1.1584311, 1.1458918, 1.0999304, 1.0540893], + [1.0414311, 1.0538241, 1.0999304, 1.1460375, 1.1584311, 1.1458918, 1.0999304, 1.0540893], + [1.4064302, 1.4984304, 1.5934305, 1.5014304], + [1.4064302, 1.4984304, 1.5934305, 1.5014304], + [1.5566041, 1.6490223, 1.7444406, 1.6520224], + [1.5566041, 1.6490223, 1.7444406, 1.6520224], + [1.4094306, 1.4404305, 1.4744304, 1.4434305], + [1.4094306, 1.4404305, 1.4744304, 1.4434305] + ], + "coil_z": [ + [-1.4706064, -1.452632, -1.4346573, -1.4166828, -1.3987083, -1.3807338, -1.3627592, -1.3447847, -1.3268102, -1.3088357, -1.2908611, -1.2728866, -1.2549121, -1.2369376, -1.2189631, -1.2009885, -1.183014, -1.1650395, -1.147065, -1.1290904, -1.1111159, -1.0931414, -1.0751669, -1.0571923, -1.0392178, -1.0212433, -1.0032688, -0.9852943, -0.9673198, -0.9493452, -0.9313707, -0.9133962, -0.8954217, -0.8774471, -0.8594726, -0.8414981, -0.8235236, -0.805549, -0.7875745, -0.7696, -0.7516255, -0.7336509, -0.7156764, -0.6977019, -0.6797274, -0.6617529, -0.6437783, -0.6258038, -0.6078293, -0.5898548, -0.5718802, -0.5539057, -0.5359312, -0.5179567, -0.4999821, -0.4820076, -0.4640331, -0.4460586, -0.428084, -0.4101095, -0.392135, -0.3741605, -0.3561859, -0.3382114, -0.3202369, -0.3022624, -0.2842878, -0.2663133, -0.2483388, -0.2303643, -0.2123898, -0.1944152, -0.1764407, -0.1584662, -0.1404916, -0.1225171, -0.1045426, -0.0865681, -0.0685936, -0.050619, -0.0326445, -0.01467, 0.0033045, 0.0212791, 0.0392536, 0.0572281, 0.0752026, 0.0931772, 0.1111517, 0.1291262, 0.1471007, 0.1650753, 0.1830498, 0.2010243, 0.2189988, 0.2369733, 0.2549479, 0.2729224, 0.2908969, 0.3088714, 0.326846, 0.3448205, 0.362795, 0.3807696, 0.3987441, 0.4167186, 0.4346931, 0.4526676, 0.4706421, 0.4886167, 0.5065912, 0.5245658, 0.5425403, 0.5605147, 0.5784893, 0.5964638, 0.6144384, 0.6324129, 0.6503874, 0.6683619, 0.6863365, 0.704311, 0.7222855, 0.74026, 0.7582346, 0.7762091, 0.7941836, 0.8121581, 0.8301327, 0.8481072, 0.8660817, 0.8840562, 0.9020307, 0.9200053, 0.9379798, 0.9559543, 0.9739288, 0.9919034, 1.0098779, 1.0278524, 1.0458269, 1.0638014, 1.081776, 1.0997505, 1.117725, 1.1356995, 1.1536741, 1.1716486, 1.1896231, 1.2075976, 1.2255721, 1.2435467, 1.2615212, 1.2794957, 1.2974702, 1.3154448, 1.3334193, 1.3513938, 1.3693683, 1.3873429, 1.4053174, 1.4232919, 1.4412664, 1.459241, -1.4706064, -1.452632, -1.4346573, -1.4166828, -1.3987083, -1.3807338, -1.3627592, -1.3447847, -1.3268102, -1.3088357, -1.2908611, -1.2728866, -1.2549121, -1.2369376, -1.2189631, -1.2009885, -1.183014, -1.1650395, -1.147065, -1.1290904, -1.1111159, -1.0931414, -1.0751669, -1.0571923, -1.0392178, -1.0212433, -1.0032688, -0.9852943, -0.9673198, -0.9493452, -0.9313707, -0.9133962, -0.8954217, -0.8774471, -0.8594726, -0.8414981, -0.8235236, -0.805549, -0.7875745, -0.7696, -0.7516255, -0.7336509, -0.7156764, -0.6977019, -0.6797274, -0.6617529, -0.6437783, -0.6258038, -0.6078293, -0.5898548, -0.5718802, -0.5539057, -0.5359312, -0.5179567, -0.4999821, -0.4820076, -0.4640331, -0.4460586, -0.428084, -0.4101095, -0.392135, -0.3741605, -0.3561859, -0.3382114, -0.3202369, -0.3022624, -0.2842878, -0.2663133, -0.2483388, -0.2303643, -0.2123898, -0.1944152, -0.1764407, -0.1584662, -0.1404916, -0.1225171, -0.1045426, -0.0865681, -0.0685936, -0.050619, -0.0326445, -0.01467, 0.0033045, 0.0212791, 0.0392536, 0.0572281, 0.0752026, 0.0931772, 0.1111517, 0.1291262, 0.1471007, 0.1650753, 0.1830498, 0.2010243, 0.2189988, 0.2369733, 0.2549479, 0.2729224, 0.2908969, 0.3088714, 0.326846, 0.3448205, 0.362795, 0.3807696, 0.3987441, 0.4167186, 0.4346931, 0.4526676, 0.4706421, 0.4886167, 0.5065912, 0.5245658, 0.5425403, 0.5605147, 0.5784893, 0.5964638, 0.6144384, 0.6324129, 0.6503874, 0.6683619, 0.6863365, 0.704311, 0.7222855, 0.74026, 0.7582346, 0.7762091, 0.7941836, 0.8121581, 0.8301327, 0.8481072, 0.8660817, 0.8840562, 0.9020307, 0.9200053, 0.9379798, 0.9559543, 0.9739288, 0.9919034, 1.0098779, 1.0278524, 1.0458269, 1.0638014, 1.081776, 1.0997505, 1.117725, 1.1356995, 1.1536741, 1.1716486, 1.1896231, 1.2075976, 1.2255721, 1.2435467, 1.2615212, 1.2794957, 1.2974702, 1.3154448, 1.3334193, 1.3513938, 1.3693683, 1.3873429, 1.4053174, 1.4232919, 1.4412664, 1.459241], + [-1.4706064, -1.452632, -1.4346573, -1.4166828, -1.3987083, -1.3807338, -1.3627592, -1.3447847, -1.3268102, -1.3088357, -1.2908611, -1.2728866, -1.2549121, -1.2369376, -1.2189631, -1.2009885, -1.183014, -1.1650395, -1.147065, -1.1290904, -1.1111159, -1.0931414, -1.0751669, -1.0571923, -1.0392178, -1.0212433, -1.0032688, -0.9852943, -0.9673198, -0.9493452, -0.9313707, -0.9133962, -0.8954217, -0.8774471, -0.8594726, -0.8414981, -0.8235236, -0.805549, -0.7875745, -0.7696, -0.7516255, -0.7336509, -0.7156764, -0.6977019, -0.6797274, -0.6617529, -0.6437783, -0.6258038, -0.6078293, -0.5898548, -0.5718802, -0.5539057, -0.5359312, -0.5179567, -0.4999821, -0.4820076, -0.4640331, -0.4460586, -0.428084, -0.4101095, -0.392135, -0.3741605, -0.3561859, -0.3382114, -0.3202369, -0.3022624, -0.2842878, -0.2663133, -0.2483388, -0.2303643, -0.2123898, -0.1944152, -0.1764407, -0.1584662, -0.1404916, -0.1225171, -0.1045426, -0.0865681, -0.0685936, -0.050619, -0.0326445, -0.01467, 0.0033045, 0.0212791, 0.0392536, 0.0572281, 0.0752026, 0.0931772, 0.1111517, 0.1291262, 0.1471007, 0.1650753, 0.1830498, 0.2010243, 0.2189988, 0.2369733, 0.2549479, 0.2729224, 0.2908969, 0.3088714, 0.326846, 0.3448205, 0.362795, 0.3807696, 0.3987441, 0.4167186, 0.4346931, 0.4526676, 0.4706421, 0.4886167, 0.5065912, 0.5245658, 0.5425403, 0.5605147, 0.5784893, 0.5964638, 0.6144384, 0.6324129, 0.6503874, 0.6683619, 0.6863365, 0.704311, 0.7222855, 0.74026, 0.7582346, 0.7762091, 0.7941836, 0.8121581, 0.8301327, 0.8481072, 0.8660817, 0.8840562, 0.9020307, 0.9200053, 0.9379798, 0.9559543, 0.9739288, 0.9919034, 1.0098779, 1.0278524, 1.0458269, 1.0638014, 1.081776, 1.0997505, 1.117725, 1.1356995, 1.1536741, 1.1716486, 1.1896231, 1.2075976, 1.2255721, 1.2435467, 1.2615212, 1.2794957, 1.2974702, 1.3154448, 1.3334193, 1.3513938, 1.3693683, 1.3873429, 1.4053174, 1.4232919, 1.4412664, 1.459241, -1.4706064, -1.452632, -1.4346573, -1.4166828, -1.3987083, -1.3807338, -1.3627592, -1.3447847, -1.3268102, -1.3088357, -1.2908611, -1.2728866, -1.2549121, -1.2369376, -1.2189631, -1.2009885, -1.183014, -1.1650395, -1.147065, -1.1290904, -1.1111159, -1.0931414, -1.0751669, -1.0571923, -1.0392178, -1.0212433, -1.0032688, -0.9852943, -0.9673198, -0.9493452, -0.9313707, -0.9133962, -0.8954217, -0.8774471, -0.8594726, -0.8414981, -0.8235236, -0.805549, -0.7875745, -0.7696, -0.7516255, -0.7336509, -0.7156764, -0.6977019, -0.6797274, -0.6617529, -0.6437783, -0.6258038, -0.6078293, -0.5898548, -0.5718802, -0.5539057, -0.5359312, -0.5179567, -0.4999821, -0.4820076, -0.4640331, -0.4460586, -0.428084, -0.4101095, -0.392135, -0.3741605, -0.3561859, -0.3382114, -0.3202369, -0.3022624, -0.2842878, -0.2663133, -0.2483388, -0.2303643, -0.2123898, -0.1944152, -0.1764407, -0.1584662, -0.1404916, -0.1225171, -0.1045426, -0.0865681, -0.0685936, -0.050619, -0.0326445, -0.01467, 0.0033045, 0.0212791, 0.0392536, 0.0572281, 0.0752026, 0.0931772, 0.1111517, 0.1291262, 0.1471007, 0.1650753, 0.1830498, 0.2010243, 0.2189988, 0.2369733, 0.2549479, 0.2729224, 0.2908969, 0.3088714, 0.326846, 0.3448205, 0.362795, 0.3807696, 0.3987441, 0.4167186, 0.4346931, 0.4526676, 0.4706421, 0.4886167, 0.5065912, 0.5245658, 0.5425403, 0.5605147, 0.5784893, 0.5964638, 0.6144384, 0.6324129, 0.6503874, 0.6683619, 0.6863365, 0.704311, 0.7222855, 0.74026, 0.7582346, 0.7762091, 0.7941836, 0.8121581, 0.8301327, 0.8481072, 0.8660817, 0.8840562, 0.9020307, 0.9200053, 0.9379798, 0.9559543, 0.9739288, 0.9919034, 1.0098779, 1.0278524, 1.0458269, 1.0638014, 1.081776, 1.0997505, 1.117725, 1.1356995, 1.1536741, 1.1716486, 1.1896231, 1.2075976, 1.2255721, 1.2435467, 1.2615212, 1.2794957, 1.2974702, 1.3154448, 1.3334193, 1.3513938, 1.3693683, 1.3873429, 1.4053174, 1.4232919, 1.4412664, 1.459241], + [1.6587501, 1.69675, 1.73475, 1.77275, 1.81075, 1.8487501, 1.6587501, 1.69675, 1.73475, 1.77275, 1.81075, 1.8487501], [1.6587501, 1.69675, 1.73475, 1.77275, 1.6587501, 1.69675, 1.73475, 1.77275], + [-1.65413, -1.69213, -1.73013, -1.7681299, -1.8061299, -1.84413, -1.65413, -1.69213, -1.73013, -1.7681299, -1.8061299, -1.84413], + [-1.65413, -1.69213, -1.73013, -1.7681299, -1.65413, -1.69213, -1.73013, -1.7681299], + [1.0767454, 1.1229349, 1.07234, 1.1273401, 1.07234, 1.1273401, 1.0767454, 1.1229349], + [-1.0701754, -1.116365, -1.06577, -1.1207701, -1.06577, -1.1207701, -1.0701754, -1.116365], + [1.04519, 1.08319, 1.12119, 1.04519, 1.08319, 1.12119, 1.04519, 1.08319, 1.12119, 1.04519, 1.08319, 1.12119, 1.04519, 1.08319, 1.12119, 1.04519, 1.08319, 1.12119, 1.1591899, 1.16619, 1.16619, 1.16619, 1.16619], + [-1.0420099, -1.0800099, -1.1180099, -1.0420099, -1.0800099, -1.1180099, -1.0420099, -1.0800099, -1.1180099, -1.0420099, -1.0800099, -1.1180099, -1.0420099, -1.0800099, -1.1180099, -1.0420099, -1.0800099, -1.1180099, -1.1560099, -1.1590099, -1.1590099, -1.1590099, -1.1590099], + [0.447466, 0.485466, 0.523466, 0.447466, 0.485466, 0.523466, 0.447466, 0.485466, 0.523466, 0.447466, 0.485466, 0.523466, 0.447466, 0.485466, 0.523466, 0.447466, 0.485466, 0.523466, 0.561466, 0.564466, 0.564466, 0.564466, 0.564466], + [-0.438792, -0.476792, -0.514792, -0.438792, -0.476792, -0.514792, -0.438792, -0.476792, -0.514792, -0.438792, -0.476792, -0.514792, -0.438792, -0.476792, -0.514792, -0.438792, -0.476792, -0.514792, -0.552792, -0.555792, -0.555792, -0.555792, -0.555792], + [0.8567, 0.8567, 0.9327, 0.9327], + [-0.9331, -0.9331, -0.8571, -0.8571], + [1.7675, 1.9135001, 1.7704999, 1.6244999], + [-1.7675, -1.9135001, -1.7704999, -1.6244999], + [1.1, 1.1528014, 1.1654998, 1.1528014, 1.1, 1.0471987, 1.0345002, 1.0471987], + [-1.1, -1.1528014, -1.1654998, -1.1528014, -1.1, -1.0471987, -1.0345002, -1.0471987], + [1.0985, 1.1935, 1.1015, 1.0065], + [-1.0985, -1.1935, -1.1015, -1.0065], + [0.4985, 0.5935, 0.5015, 0.4065], + [-0.4985, -0.5935, -0.5015, -0.4065], + [0.8985002, 0.9760002, 0.9015002, 0.8240002], + [-0.8985002, -0.9760002, -0.9015002, -0.8240002] + ], + "coil_dz": [ + [0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017], + [0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017, 0.017], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.0431892, 0.0431896, 0.052, 0.052, 0.052, 0.052, 0.0431892, 0.0431896], + [0.0431892, 0.0431896, 0.052, 0.052, 0.052, 0.052, 0.0431892, 0.0431896], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037, 0.037], + [0.052, 0.052, 0.052, 0.052], + [0.052, 0.052, 0.052, 0.052], + [0.2890002, 0.003, 0.2890002, 0.003], + [0.2890002, 0.003, 0.2890002, 0.003], + [0.0832058, 0.0223969, 0.003, 0.0223969, 0.0832058, 0.0223968, 0.003, 0.0223968], + [0.0832058, 0.0223969, 0.003, 0.0223969, 0.0832058, 0.0223968, 0.003, 0.0223968], + [0.187, 0.003, 0.187, 0.003], + [0.187, 0.003, 0.187, 0.003], + [0.187, 0.003, 0.187, 0.003], + [0.187, 0.003, 0.187, 0.003], + [0.152, 0.003, 0.152, 0.003], + [0.152, 0.003, 0.152, 0.003] + ], + "coil_dr": [ + [0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115], + [0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115, 0.0115], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.021, 0.021, 0.021, 0.021, 0.021, 0.021, 0.021, 0.021], + [0.021, 0.021, 0.021, 0.021, 0.021, 0.021, 0.021, 0.021], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024, 0.024], + [0.021, 0.021, 0.021, 0.021], + [0.021, 0.021, 0.021, 0.021], + [0.003, 0.1268245, 0.003, 0.1268245], + [0.003, 0.1268245, 0.003, 0.1268245], + [0.003, 0.0049057, 0.0663757, 0.0049058, 0.003, 0.0046145, 0.0663757, 0.0043751], + [0.003, 0.0049057, 0.0663757, 0.0049058, 0.003, 0.0046145, 0.0663757, 0.0043751], + [0.003, 0.1870002, 0.003, 0.1870002], + [0.003, 0.1870002, 0.003, 0.1870002], + [0.003, 0.1878363, 0.003, 0.1878363], + [0.003, 0.1878363, 0.003, 0.1878363], + [0.003, 0.0649999, 0.003, 0.0649999], + [0.003, 0.0649999, 0.003, 0.0649999] + ], + "coil_scaling_factors":[500.0, 500.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 250.0, 250.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0], + "coil_current_signal_names": ["amc_sol current", "amc_sol current", "amc_p2iu feed current", "amc_p2ou feed current", "amc_p2il feed current", "amc_p2ol feed current", "amc_p3u feed current", "amc_p3l feed current", "amc_p4u feed current", "amc_p4l feed current", "amc_p5u feed current", "amc_p5l feed current", "amc_p6u current", "amc_p6l current", "amc_p2u case current", "amc_p2l case current", "amc_p3u case current", "amc_p3l case current", "amc_p4u case current", "amc_p4l case current", "amc_p5u case current", "amc_p5l case current", "amc_p6u case current", "amc_p6l case current"], + "coil_element_shapes": [[2], [2], [2], [2], [2], [2], [2], [2], [2], [2], [2], [2], [2], [2], [2, 2, 2, 2], [2, 2, 2, 2], [2, 3, 2, 3, 2, 3, 2, 3], [2, 3, 2, 3, 2, 3, 2, 3], [2, 2, 2, 2], [2, 2, 2, 2], [2, 2, 2, 2], [2, 2, 2, 2], [2, 2, 2, 2], [2, 2, 2, 2]], + "supply_current_signal_names": ["amc_sol current", "amc_p2iu feed current", "amc_p2ou feed current", "amc_p2il feed current", "amc_p2ol feed current", "amc_p3u feed current", "amc_p3l feed current", "amc_p4u feed current", "amc_p4l feed current", "amc_p5u feed current", "amc_p5l feed current", "amc_p6u current", "amc_p6l current", "amc_p2u case current", "amc_p2l case current", "amc_p3u case current", "amc_p3l case current", "amc_p4u case current", "amc_p4l case current", "amc_p5u case current", "amc_p5l case current", "amc_p6u case current", "amc_p6l case current"], + "supply_current_scale_factor": [1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 250.0, 250.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0], + "circuit_names": ["ohmic current", "P2IU", "P2OU", "P2IL", "P2OL", "P3U", "P3L", "P4U", "P4L", "P5U", "P5L", "P6U", "P6L", "P2U case current", "P2L case current", "P3U case current", "P3L case current", "P4U case current", "P4L case current", "P5U case current", "P5L case current", "P6U case current", "P6L case current"] +}, \ No newline at end of file diff --git a/mappings/pf_active/mappings.json b/mappings/pf_active/mappings.json new file mode 100644 index 0000000..2de0212 --- /dev/null +++ b/mappings/pf_active/mappings.json @@ -0,0 +1,103 @@ +{ + "ids_properties/homogeneous_time": + { + "MAP_TYPE": "VALUE", + "VALUE": 0 + }, + "coil": + { + "MAP_TYPE": "VALUE", + "VALUE": "{{ length(coil_r) }}" + }, + "coil[#]/name": + { + "MAP_TYPE": "VALUE", + "VALUE": "???" + }, + "coil[#]/id": + { + "MAP_TYPE": "VALUE", + "VALUE": "{{ indices.0 }}" + }, + "coil[#]/identifier": + { + "MAP_TYPE": "VALUE", + "VALUE": "{{ indices.0 }}" + }, + "_coil[#]/r_vals": + { + "MAP_TYPE": "VALUE" + "VALUE": "{{ at(coil_r, indices.0) }}", + "comment": "need a temporary variable to double-index into 2D arrays" + } + "coil[#]/element": + { + "MAP_TYPE": "VALUE", + "VALUE": "{{ length(at(coil_r, indices.0)) }}" + }, + "coil[#]/element[#]/geometry/geometry_type": + { + "MAP_TYPE": "VALUE", + "VALUE": 2 + }, + "coil[#]/element[#]/geometry/rectangle/r": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ at(at(coil_r, indices.0), indices.1) }}" + }, + "coil[#]/element[#]/geometry/rectangle/z": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ at(at(coil_z, indices.0), indices.1) }}" + }, + "coil[#]/element[#]/geometry/rectangle/width": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ at(at(coil_dr, indices.0), indices.1) }}" + }, + "coil[#]/element[#]/geometry/rectangle/height": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ at(at(coil_dz, indices.0), indices.1) }}" + }, + "coil[#]/element[#]/turns_with_sign": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ at(at(coil_turn_count, indices.0), indices.1) }}" + }, + "supply": + { + "MAP_TYPE": "VALUE", + "VALUE":"{{ length(supply_current_signal_names) }}" + }, + "supply[#]/current": + { + "MAP_TYPE": "PLUGIN", + "PLUGIN": "UDA", + "ARGS": { + "signal": "{{ at(supply_current_signal_names, indices.0) }}" + }, + "SCALE": "{{ at(supply_current_scale_factors, indices.0) }}" + }, + "circuit":{ + "MAP_TYPE": "VALUE", + "VALUE": "{{ length(circuit_names) }}" + }, + "circuit[#]/name":{ + "MAP_TYPE": "VALUE", + "VALUE": "{{ at(circuit_names, indices.0) }}" + }, + "circuit[#]/identifier":{ + "MAP_TYPE": "VALUE", + "VALUE": "{{ indices.0 }}" + }, + }, + "circuit[#]/current":{ + "MAP_TYPE": "PLUGIN", + "PLUGIN": "UDA", + "ARGS": { + "signal": "{{ at(supply_current_signal_names, indices.0) }}" + } + "SCALE": "{{ at(supply_current_scale_factor, indices.0) }}" + }, +} \ No newline at end of file From afba0ad4ca213ff2fb061f72fcc330cbfa8b5228 Mon Sep 17 00:00:00 2001 From: Your GitHub Username Date: Fri, 28 Jun 2024 10:46:05 +0100 Subject: [PATCH 2/3] fixed json errors --- mappings/pf_active/globals.json | 6 +++--- mappings/pf_active/mappings.json | 15 +++++++-------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/mappings/pf_active/globals.json b/mappings/pf_active/globals.json index 951cd06..59cd059 100644 --- a/mappings/pf_active/globals.json +++ b/mappings/pf_active/globals.json @@ -24,10 +24,10 @@ [0.2494422, 0.2505578, 0.2494422, 0.2505578], [0.3502306, 0.1497694, 0.3502306, 0.1497694], [0.3502306, 0.1497694, 0.3502306, 0.1497694] - ] + ], "coil_r": [ - [0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0 .119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.1 19, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119 , 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1 446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.144 6252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.14462 52, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252 , 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0. 1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252], + [0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.119, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252, 0.1446252], [0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1318126, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378, 0.1574378], [0.4884, 0.4884, 0.4884, 0.4884, 0.4884, 0.4884, 0.4624, 0.4624, 0.4624, 0.4624, 0.4624, 0.4624], [0.5154, 0.5154, 0.5154, 0.5154, 0.5414, 0.5414, 0.5414, 0.5414], @@ -133,4 +133,4 @@ "supply_current_signal_names": ["amc_sol current", "amc_p2iu feed current", "amc_p2ou feed current", "amc_p2il feed current", "amc_p2ol feed current", "amc_p3u feed current", "amc_p3l feed current", "amc_p4u feed current", "amc_p4l feed current", "amc_p5u feed current", "amc_p5l feed current", "amc_p6u current", "amc_p6l current", "amc_p2u case current", "amc_p2l case current", "amc_p3u case current", "amc_p3l case current", "amc_p4u case current", "amc_p4l case current", "amc_p5u case current", "amc_p5l case current", "amc_p6u case current", "amc_p6l case current"], "supply_current_scale_factor": [1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 250.0, 250.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0, 1000.0], "circuit_names": ["ohmic current", "P2IU", "P2OU", "P2IL", "P2OL", "P3U", "P3L", "P4U", "P4L", "P5U", "P5L", "P6U", "P6L", "P2U case current", "P2L case current", "P3U case current", "P3L case current", "P4U case current", "P4L case current", "P5U case current", "P5L case current", "P6U case current", "P6L case current"] -}, \ No newline at end of file +} \ No newline at end of file diff --git a/mappings/pf_active/mappings.json b/mappings/pf_active/mappings.json index 2de0212..62cd430 100644 --- a/mappings/pf_active/mappings.json +++ b/mappings/pf_active/mappings.json @@ -26,10 +26,10 @@ }, "_coil[#]/r_vals": { - "MAP_TYPE": "VALUE" + "MAP_TYPE": "VALUE", "VALUE": "{{ at(coil_r, indices.0) }}", "comment": "need a temporary variable to double-index into 2D arrays" - } + }, "coil[#]/element": { "MAP_TYPE": "VALUE", @@ -50,17 +50,17 @@ "MAP_TYPE": "VALUE", "VALUE":"{{ at(at(coil_z, indices.0), indices.1) }}" }, - "coil[#]/element[#]/geometry/rectangle/width": + "coil[#]/element[#]/geometry/rectangle/width": { "MAP_TYPE": "VALUE", "VALUE":"{{ at(at(coil_dr, indices.0), indices.1) }}" }, - "coil[#]/element[#]/geometry/rectangle/height": + "coil[#]/element[#]/geometry/rectangle/height": { "MAP_TYPE": "VALUE", "VALUE":"{{ at(at(coil_dz, indices.0), indices.1) }}" }, - "coil[#]/element[#]/turns_with_sign": + "coil[#]/element[#]/turns_with_sign": { "MAP_TYPE": "VALUE", "VALUE":"{{ at(at(coil_turn_count, indices.0), indices.1) }}" @@ -91,13 +91,12 @@ "MAP_TYPE": "VALUE", "VALUE": "{{ indices.0 }}" }, - }, "circuit[#]/current":{ "MAP_TYPE": "PLUGIN", "PLUGIN": "UDA", "ARGS": { "signal": "{{ at(supply_current_signal_names, indices.0) }}" - } + }, "SCALE": "{{ at(supply_current_scale_factor, indices.0) }}" - }, + } } \ No newline at end of file From dd003d8958c226e4ffa51dd38c538ecbb07c57de Mon Sep 17 00:00:00 2001 From: Your GitHub Username Date: Fri, 28 Jun 2024 11:05:37 +0100 Subject: [PATCH 3/3] fixed typo --- mappings/pf_active/globals.json | 2 +- mappings/pf_active/mappings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mappings/pf_active/globals.json b/mappings/pf_active/globals.json index 59cd059..560813f 100644 --- a/mappings/pf_active/globals.json +++ b/mappings/pf_active/globals.json @@ -1,5 +1,5 @@ { - "coil_turn_counts": [ + "coil_turn_count": [ [1.0], [1.0], [1.0], diff --git a/mappings/pf_active/mappings.json b/mappings/pf_active/mappings.json index 62cd430..3070fd7 100644 --- a/mappings/pf_active/mappings.json +++ b/mappings/pf_active/mappings.json @@ -28,7 +28,7 @@ { "MAP_TYPE": "VALUE", "VALUE": "{{ at(coil_r, indices.0) }}", - "comment": "need a temporary variable to double-index into 2D arrays" + "COMMENT": "need a temporary variable to double-index into 2D arrays" }, "coil[#]/element": {