// Howdy ๐.
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
// You can also create your own flexible parts, like generics (https://docs.flux.ai/Introduction/generic-parts)
//
// If you are new to writing code in Flux make sure to check out our get started docs: https://docs.flux.ai/reference/introduction
//
// We also have a Flux Slack Community in case you need help: https://join.slack.com/t/fluxcommunity/shared_invite/zt-2ouyf80w6-7Wp81YlNEsuDFFdED9UQMA
//
// To infinity and beyond ๐
// listen to the simulation setup event
flux.on("setup", (event) => {
flux.simulationModel = {
type: "resistor", // The type of model we want to set
resistance: 1000, // The resistance of the resistor
map_input_to_terminal_uid: "1e5f31d6-2e01-427f-18b7-c4661ce4f0d2", // map the terminals
map_output_to_terminal_uid: "d6839958-464a-22d4-c933-293fecbddc1c", // map the terminals
};
});