During the simulation the created PLC program is not processed in the PLC. All online functions are available. That allows you to test the logical correctness of your program without PLC hardware.
POUs of external libraries do not run in simulation mode.