square of AC voltage in simulink ???

hi there,
I am new to simulink world !!!
I want to generate a block for electrostatic force which is proportional to v^2. where v is ac voltage. I have take a AC voltage block, have taken the math square function block, but I could not connect them. any suggestions ???
thank you in advance.
regards,
Harry_108

Réponses (1)

KL
KL le 10 Avr 2015

1 vote

Normally you cannot connect physical signal ports to simulink signal ports. In such cases you should use either PS-Simulink converter or Simulink-PS converter which you can find under Utilities of your Simscape library.

2 commentaires

Harry_108
Harry_108 le 10 Avr 2015
hi, thank you for answering. I have tried to connect the following blocks. AC Voltage source -------> PS-Simulink Converter -------> Math Function
the first connection does not work :(
any further suggestions ???
thanks...
KL
KL le 10 Avr 2015
At the moment I don't have the license for Simscape but normally you connect the positive end to signal converter and the negative end to ground. What's the error now?

Connectez-vous pour commenter.

Question posée :

le 10 Avr 2015

Commenté :

KL
le 10 Avr 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by