Example written in C#

Post Reply
JulieCouturier
Posts: 4
Joined: 25 November 2020, 16:32

Example written in C#

Post by JulieCouturier »

Hello,

I would like to know if the example ThermoClientPMETest project available in the repository has a similar example written in C# ?

Best regards,
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Example written in C#

Post by jasper »

At this point, 2 out 3 phases of COBIA have been published:

https://www.colan.org/experiences-proje ... ure-cobia/

Bindings to different languages, including .NET, are part of phase III - so currently all COBIA related implementation is C++ only. It will come - but is not yet there.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Example written in C#

Post by jasper »

If you do want a C# CAPE-OPEN client, you could use the existing COM binding of course. An example (not command line driven) for a thermo property package in C# is here

https://www.colan.org/software-tools/co ... c-example/

which shows how to do the C#/COM binding, but it does not show how to create the Material Object, which is needed in case you want to access 3rd party thermodynamics. Here are somewhat dated unit operation examples in C#

https://colan.repositoryhosting.com/tra ... /downloads

but again, this is from the PMC side, not the PME side.
Post Reply

Return to “Unit Operations”