hexagon logo

GCON unable to solve function that include model parameters as a variable. Suggestions to run two coupled shafts with variable speed ratio?

Hi, In my model(attached) I am trying to drive a pump shaft(slave) with respect to the motor shaft(master) based on a variable efficiencies. I have coupled the two shafts using GCON.
 
The efficiency is calculated using the output torque and the input speed. The coupler(GCON) seems to be not working when the model parameters are used to calculate the ratio at which the pump shaft should spin. It works fine with some arbitrary generated variable that dose not involve model parameters.
 
Any suggestions to run two coupled shafts with variable speed ratio?

Attached Files (1)
Parents
  • From the documentation on GCON:
    The FUNCTION expression exp can reference variables defined in the .adm file through the VARVAL construct. It should be stressed again that correct handling of the GCON requires that the expression defining the VARIABLE only depends on time, and position and velocity measures; in other words, the Pfaffian character of the GCON is not undermined by the presence of the VARVAL.
     
    Your VARVAL is dependent on a reaction force.
Reply
  • From the documentation on GCON:
    The FUNCTION expression exp can reference variables defined in the .adm file through the VARVAL construct. It should be stressed again that correct handling of the GCON requires that the expression defining the VARIABLE only depends on time, and position and velocity measures; in other words, the Pfaffian character of the GCON is not undermined by the presence of the VARVAL.
     
    Your VARVAL is dependent on a reaction force.
Children
No Data