How do I add more models to oregano?

Solution 1:

Short answer: I think you are out of luck.


Long answer: reading the page you linked:

Any additional model has to be added by the user. Oregano models are in spice format and are therefore widely available, for instance this site gives a list of SPICE models available for free on the web:

http://homepages.which.net/~paul.hills/Circuits/Spice/ModelIndex.html

we have good and bad news. The good news are that Oregano uses standard PSPICE files (and PSPICE has been the most used electronic circuit simulator in the past decade). The bad news are that it seems every model that one would like to use must be manually added to /usr/share/oregano/models folder.

This could even be doable, the problem is that reading at the model index page:

Note that for some of the models you may have to find the appropriate link on the page given, or extract it from a compressed file, but many of these links will take you straight to the manufacturer's download link.

Also note that some sites require you to register first before downloading models. However, once that is done, the models are free.

seems clear that this task is becoming more and more time consuming at each step that we take (and there are even quite a few broken links!).

I've managed to find other resources, for example this page and this one. The last one seemed to be particularly promising, two big zipfiles directly downloadable here and here, for example, plus other resources.

Again, the problem now is that unziping these two zipfiles, we have a huge collection of PSPICE models without any linking with Oregano's library names (I was trying to use a TTL 7400b component - a standard NAND gate - but I couldn't find the component in these two huge libraries, both searching for 7400 and NAND).

I've even tried to google for oregano library torrent to see if a kind soul had already uploaded such a collection, but still no luck.

So the final response is: creating your own library is doable, but very time (and mind) consuming.

Probably you'd better look at this question and pick another free simulator of your choice.

Good luck!

P.s. if you decide to assemble your own library, it would be nice if you'd share it in some way (e.g. torrent, emule, etc.). Many other people will thank you for this.

Solution 2:

Answer: You're not screwed.

I found the models in another, previous github location. Ah the joy of open source shared software on cloud computers. It's like your high school yearbook photo - it never dies...

It seems that once someone migrated the code from the original to the new master distribution, a number of models went missing from the new oregano distro. Don't quote me just a guess. Most are located here: https://github.com/drahnr/oregano/tree/master/data/models

I couldn't find the LF357.model but I googled one here LF357.cir