The paper describes the creation of a mathematical model of a cogeneration plant based on the organic Rankine cycle (ORC). The theoretical settings and physical characteristics of the organic Rankine cycle (ORC) served as a starting point for creating a mathematical model of the basic plant elements (pump of the working medium, heat exchangers, turbine), as well as for their final implementation within the program in the PLC. The justification of ORC analysis and creation of a model of a complete plant lies in the energy efficiency as well as the environmental acceptability of a system of this type. The paper deals with the creation of a mathematical model of the entire plant with the aim of defining the process management system. By determining and testing the control functions in the simulation, an optimal control algorithm for this type of plant was arrived at. The final goal of the research is the transfer of the realized mathematical models to the program inside the PLC and ultimately the creation of a circuit simulator that would simulate the process and on which the system management would be tested. The paper was written as part of the project Safer and more efficient cogeneration/trigeneration plants financed by EU funds, which is supported by the Faculty of Electrical Engineering, Mechanical Engineering and Shipbuilding in Split. The content of the work is based on four diploma theses, in which individual elements of the cogeneration plant were treated. Also, the work is the basis for the realization of the management system of the real biomass cogeneration plant, Nard Valpovo.