Modeling the energy systems in Matlab Simulink – problematics of energy system control The paper presents the models of the individual elements in the energy system created in MatlabSimulink. The reason for modeling energy system is the prediction of the behavior of individual subsystems. In cooperation with the validated models are solved the operational problems and power quality issues that are further discussed.