canSimplifyCpts
canSimplifyCpts: { input: {}; output: boolean }
checkJunctionRule
checkJunctionRule: {
input: { selectedElements: string[] };
output: [number, string[]];
}
checkTransformation
checkTransformation: {
input: { selectedElements: string[] };
output: { equation: string; errorCode: number };
}
checkVoltageLoopRule
checkVoltageLoopRule: {
input: { selectedElements: string[] };
output: [number, string];
}
createKirchhoffStep0
createKirchhoffStep0: { input: {}; output: StepObject } createStep0
currEquations
currEquations: { input: {}; output: string[] }
equationIsValid
equationIsValid: {
input: {
R1: number;
R2: number;
R3: number;
R4: number;
Um: number;
Uq: number;
};
output: boolean;
}
equations
equations: { input: {}; output: string[] }
equationsURI
equationsURI: { input: {}; output: string[] }
exists
exists: { input: { path: string }; output: boolean }
forceDrawing
forceDrawing: {
input: { circuitString: string; optionsString: string; paramMap: any };
output: {
errMsgs: string;
isValidSyntax: boolean;
svgData: string;
warnMsgs: string;
};
}
foundAllEquations
foundAllEquations: { input: {}; output: boolean }
foundAllVoltEquations
foundAllVoltEquations: { input: {}; output: boolean }
generateSvgFile
generateSvgFile: { input: { file: string }; output: boolean }
getCircuitFiles
getCircuitFiles: { input: {}; output: string[] }
getStep
getStep: { input: { step: string }; output: StepObject } initKirchhoffSolver
initKirchhoffSolver: {
input: { circuitFile: string; circuitPath: string; paramMap: any };
output: boolean;
}
initMagneticSolver
initMagneticSolver: {
input: {
magneticCircuitFile: string;
magneticCircuitPath: string;
paramMap: any;
};
output: boolean;
}
initStepSolver
initStepSolver: {
input: { circuitFile: string; circuitPath: string; paramMap: any };
output: boolean;
}
initSVGGenerator
initSVGGenerator: { input: { path: string }; output: boolean }
isLocked
isLocked: { input: {}; output: boolean }
isValidCircuitFile
isValidCircuitFile: {
input: { circuitFile: string; circuitPath: string };
output: { errors: string; isValid: boolean; warnings: string };
}
isValidCircuitString
isValidCircuitString: {
input: { fileString: string };
output: { errors: string; isValid: boolean; warnings: string };
}
lcapyNetlist
lcapyNetlist: { input: {}; output: string[] }
loadSolve
loadSolve: { input: {}; output: boolean }
lock
lock: { input: { onStr: string }; output: boolean }
mkdir
mkdir: { input: { path: string }; output: boolean }
pyimport
pyimport: { input: { pythonModuleName: string }; output: boolean }
readdir
readdir: { input: { path: string }; output: string[] }
readFile
readFile: { input: { encoding: string; path: string }; output: string }
recursiveRmDir
recursiveRmDir: { input: { path: string }; output: boolean }
rename
rename: { input: { from: string; to: string }; output: boolean }
resetKirchhoffSolver
resetKirchhoffSolver: { input: {}; output: boolean }
resetMagneticSolver
resetMagneticSolver: { input: {}; output: boolean }
resetStepSolver
resetStepSolver: { input: {}; output: boolean }
runPython
runPython: { input: { code: string }; output: boolean }
setOptions
setOptions: { input: { options: any }; output: boolean }
setToDefault
setToDefault: { input: {}; output: boolean }
simplifyNCpts
simplifyNCpts: {
input: { relation: string; selectedElements: string[] };
output: any;
}
transformedAllElements
transformedAllElements: { input: {}; output: boolean }
unlink
unlink: { input: { path: string }; output: boolean }
unlock
unlock: { input: { setTo: string }; output: boolean }
unpackArchive
unpackArchive: {
input: { buffer: ArrayBuffer; extension: string; options: any };
output: boolean;
}
voltEquationsURI
voltEquationsURI: { input: {}; output: string[] }
writeFile
writeFile: {
input: { content: string; encoding: string; path: string };
output: boolean;
}
zipFiles
zipFiles: { input: { path: string }; output: boolean }
// ================= Pyodide =================