I'm trying to create a boost converter model in Simulink. So far I have created an averaged converter model described by space method. This model is linear due to a parametar D (duty-cycle of boost converter) which is incorporated into a matrice A. Now I want to create a nonlinear model, but I don't know how. Did anyone do something like that. Any help is welcome.