Closed be1 closed 4 years ago
@be1 thanks for reporting, unfortunately I won't have any capacity for oregano anymore these days ( see #161 ) but I'd be happy to guide you through the source if you want to tackle it yourself!
@drahnr thanks for your reply. I'll see if I can fix the code, on this week-end.
I think I found the bug in the xml libary. But this leads to another issue: the speaker model. Indeed, a speaker is in fact not a resistor, neither an inductor, neither the combination of the two. Because of the mechanical parts, It's more or less a combination of a R-L and a R-L-C networks, the first in series, and the second in parrallel. But even that model is wrong because the R-L part is not a good model. manufacturers use this as a starting point to design their crossover filters and adjust it after crossover application measures.
I suggest anyway to use R as the model for the speaker, because speaker manufacturer does not give the R-L/R-L-C specifications. Are you okay with that ? For people having a good knowledge of it, they can themselves create a compound of R-L / R-L-C if they want their own description of their loudspeaker.
The generated netlist is now correct. See attachement oregano file. speaker.zip
Steps to reproduce
Expected behaviour
R_L1 (speaker) line should be : R_L1 1 0 8 ohm
Actual behaviour
R_L1 line is R_L1 1 0 (missing 8 ohm)
Configuration
Ubuntu GNU/Linux 20.10:
Versions