circuitjs1 icon indicating copy to clipboard operation
circuitjs1 copied to clipboard

In the startIteration() method in the LampElm class, how are these formulas and parameters obtained?

Open 306Vulcan opened this issue 2 years ago • 4 comments

In the startIteration() method in the LampElm class, how are these formulas and parameters obtained? void startIteration() { // based on http://www.intusoft.com/nlpdf/nl11.pdf double nom_r = nom_v*nom_v/nom_pow; // this formula doesn't work for values over 5390 double tp = (temp > 5390) ? 5390 : temp; resistance = nom_r*(1.26104 - 4.90662*Math.sqrt(17.1839/tp - 0.00318794) - 7.8569/(tp - 187.56)); double cap = 1.57e-4*nom_pow; double capw = cap * warmTime/.4; double capc = cap * coolTime/.4; //System.out.println(nom_r + " " + (resistance/nom_r)); temp += getPower()*sim.timeStep/capw; double cr = 2600/nom_pow; temp -= sim.timeStep*(temp-roomTemp)/(capc*cr); // sim.console("lampsi " + temp + " " + capc + " " + nom_pow); }

306Vulcan avatar Apr 05 '23 04:04 306Vulcan

can you help me

306Vulcan avatar Apr 05 '23 04:04 306Vulcan

looks like it could be similar to a thermistor

billcollis avatar Apr 05 '23 04:04 billcollis

looks like it could be similar to a thermistor

Hello, do you have any reference materials?

306Vulcan avatar Apr 05 '23 04:04 306Vulcan

maybe try this? https://www.eevblog.com/forum/projects/electrical-model-for-incandescent-lamp/ or search for PTC thermistor graph/model

billcollis avatar Apr 05 '23 04:04 billcollis