Yet Another JSON-RPC (YAJ-RPC) is a JSON RPC 2.0 implementation for JVM languages written in Kotlin.
Client and server for WebSockets, TCP/IP, ZeroMQ and HTTP are included, but the RPC implementation itself is totally independent from any networking logic.
FMI4j is a new open-source Kotlin library that allows import and simulation of Model Exchange and Co-simulation FMUs compliant with the FMI 2.0 standard.
As Kotlin is 100% interoperable with Java, its up to the end user which language to use.
As of late 2017, Fmi4j is the only Java library that support Model Exchange 2.0.
FMI4j don’t just import such FMUs, but can also solve them using the integrators available in Apache Commons Math.
FMI4j uses the gradle build system, allowing you to easily set it up on your own machine.
FMU2Jar is a command line utility for converting Functional Mock-up Units (FMUs) into regular Java libraries.
This allows the FMU to be loaded into an application using maven artifacts rather that referring to the location of the FMU in your app.
Furthermore, typesafe getters and setters for each variable is generated and accessiable though the API.
E.g. an FMU with the a ScalaraVariable with name “pid.kp” of type Real will have a getter like so: public FmuRead<Double> getPid_kp()
FMU2Jar is available here