// see https://docs.flux.ai/simulator/triode
const p1TerminalId = "ad26b2e0-d615-4049-b44d-f08609a74a8e"; //P1
const p2TerminalId = "04e1b588-0d5b-4680-8d69-592bb399097d"; //P2
const p3TerminalId = "ce4bd246-85f6-4021-958f-b016d9e5141c"; //P3
const p7TerminalId = "a40e1cba-9b41-4252-82fa-70efa70a6376"; //P7
const p8TerminalId = "40a57cf4-0c81-4b45-8de0-27a443abf649"; //P8
const p9TerminalId = "f005becb-2f75-4f8f-bb85-3d2e9c88182c"; //P9
const p1Terminal = flux.getNodeById(p1TerminalId, "elementTerminal");
const p2Terminal = flux.getNodeById(p2TerminalId, "elementTerminal");
const p3Terminal = flux.getNodeById(p3TerminalId, "elementTerminal");
const p7Terminal = flux.getNodeById(p7TerminalId, "elementTerminal");
const p8Terminal = flux.getNodeById(p8TerminalId, "elementTerminal");
const p9Terminal = flux.getNodeById(p9TerminalId, "elementTerminal");
flux.on("setup", () => {
flux.simulationModel = simModel();
})
function simModel(): TriodeSimulationModelConfig {