const one_A = flux.getNodeById("a929cedb-7aef-c629-2dc3-440246a02b32");
const one_B = flux.getNodeById("3d857f4f-72de-4b12-ea88-c25c9fb152dd");
const two_A = flux.getNodeById("84f83fc8-eada-c6a5-92e4-2d7a7ccf6990");
const two_B = flux.getNodeById("376d26ab-bd2d-6f34-5ab5-446e0c631ec8");
flux.on("setup", (event) => {
flux.simulationModel = {
type: "transformer",
inductance: 4,
ratio: 1,
couplingCoefficient: 0.999,
map_first_winding_A_to_terminal_uid: one_A?.uid,
map_first_winding_B_to_terminal_uid: one_B?.uid,
map_second_winding_A_to_terminal_uid: two_A?.uid,
map_second_winding_B_to_terminal_uid: two_B?.uid,
};
});