After completing many tasks of my current project I found the answers of all my questions. Here the details.
- When using Simscape powersystems specialized tech, use discrete mode. Continuous mode will give you an approximate result. On the solver settings try to use variable step/ode23t. Fixed step will work if the sample time is small enough. (depends on the system)
- The pv array block with a simple resistor:
- With a high resistor, the PV is in open voltage and the block model is causing a big voltage spike at the beginning of the simulation. You can see it by setting up a very small sample time (1e-7).
- The solution is to place a parallel capacitor to limit the voltage surge. 10 uF will do but it depends on your system and if you will use it also for some sort of signal filtering.
Hopefully it will help any one with my same issues/question.
