Simulation-based average -value modeling of power electronic converters and subsystems