jharwinbarrozo / CTL1206FYW1T

Files

Pins

Symbol

PCB

Open in Flux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const anodeTerminalId = "63b04c1b-436c-3804-2af5-f29f2e88399c";
const cathodeTerminalId = "e5f77de8-474b-cc14-8e87-78778e0da1c6";
const anodeTerminal = flux.getNodeById(anodeTerminalId, "elementTerminal");
const cathodeTerminal = flux.getNodeById(cathodeTerminalId, "elementTerminal");
const outputVoltage = flux.createOutputNode("vout");
const inputVoltage = flux.createOutputNode("vin");
const current = flux.createOutputNode("I");
const voltageDrop = flux.createOutputNode("vdrop");
const seriesResistance = 0.42;
const emissionCoefficient = 3.73;
const saturationCurrent = 93.2e-12;
const breakdownVoltage = 0;
//setup event
flux.on("setup", () => {
    flux.simulationModel = simModel();
    flux.currentSymbol = "led-off";
});
// Property was changed event
flux.on("propertyChange", (event) => {
    if (event.property_name === "Forward Voltage") {
        flux.notify(event.property_name + " changed to " + event.value + "V", {
            variant: "success",
        });
        flux.simulationModel = simModel();
    }
});
Enter to Rename, Shift+Enter to Preview

Reviews