Calling epluswth.dll from C# programs
I am looking to find out if anyone has published C# code to import the functions from Weather Convertor Program epluswth.dll
?
[The documentation here] (https://bigladdersoftware.com/epx/doc...) gives examples of doing this from VB (not sure if that is "classic" VB6 or actually VB.NET). I'm looking for the equivalent for C#.
Thanks!
When I skimmed the documentation, what struck me was how dated it seems, which is no great surprise since there's been no work on the Weather Converter (except bug fixes) since it was released 20 years ago. For example, the latest weather file format it can handle is still the TMY2, which was released in 1993 and abandoned by NREL in 2005. Other limitations of note include poor ground temperatures, no snow and rain flags, day of week for the first record (!), etc. So, is there any interest to improve the WeatherConverter program and the epw format, and how to transmit that to the EPlus Team?
@Joe Huang I think this would have value. When we started using EnergyPlus more often I noticed the same thing; our internal tool actually supported some file formats that the EP tool did not. AFAIK the source code is not even available right now, but getting it in public (e.g. on GitHub) would be a good first step also. That would allow for contributions both in terms of file formats and also maybe other capabilities. Even having people contribute settings files for custom formats would be useful / avoid reinvention.