Effacer les filtres
Effacer les filtres

How can I set up the lookup table for a 2-way directional valve?

2 vues (au cours des 30 derniers jours)
Andrews Kwkaye
Andrews Kwkaye le 13 Avr 2022
I need help with why I am getting this error "Dimensions of arrays being concatenated are not consistent. "
I am trying to model a 2-Way Driectional Valve using lookup tables.
  4 commentaires
Voss
Voss le 14 Avr 2022
No idea, sorry. Apparently that's some stuff from Simscape, which I've never used.
Andrews Kwkaye
Andrews Kwkaye le 14 Avr 2022
Thank you.

Connectez-vous pour commenter.

Réponses (1)

Yifeng Tang
Yifeng Tang le 24 Juin 2022
Regarding the error message in you comment:
  • ['Trial/2-Way Directional Valve (IL)']: Size of Volumetric flow rate table, q(s,dp) must be equal to length of Spool travel vector, s by length of Pressure drop vector, dp. In fluids.isothermal_liquid.valves_orifices.directional_control_valves.directional_valve_2_way
It's complaining about size(q) is not the save as [length(s),length(dp)]. q is what you have put in the volumetric flow rate table, and s is the spool travel vector, and dp is the pressure drop vector. The dimensions have to be right, or Simscape doesn't know how to do the look up.

Catégories

En savoir plus sur Simscape Fluids dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by