Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

SAM, followed an OOP programming feature ?

  • fayya
  • Topic Author
More
26 Sep 2018 23:37 #6459 by fayya
Hi everyone,
I know that SAM was developped using the C++ lanquage, but I would like to know if the software was developped following an object oriented programmation approach or a procedural approach.
Thank you so much

Please Log in or Create an account to join the conversation.

  • Paul Gilman
More
27 Sep 2018 12:39 #6460 by Paul Gilman
Replied by Paul Gilman on topic SAM, followed an OOP programming feature ?
Hello,

SAM is a very large program with lots of code, which you can see in the open source repositories hosted on GitHub.com:

https//github.com/nrel/sam

The code is organized into modules and uses object-oriented concepts like classes and inheritance, but also has some sections that are more procedural.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum