Jump to content

Minoru Yubuchi

  • Content Count

  • Joined

  • Last visited

About Minoru Yubuchi

  • Rank

Profile Information

  • Country
  • Are you University user?

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dear Experts, In what case Display block in Activate displays 'inf' as a result? Regards, Minoru Yubuchi
  2. Christian, Thank you so much! Your advice is very useful for me. Thanks, Minoru Yubuchi
  3. Dear Experts, My Modelica sript contains the following equation: tan(gamma) = (y - y_b)/(x - x_b); where y, x, x_b, y_b are variables. Please let me have your advice how to avoid zero-division (to avoid to become x=x_b) in Modelica script. When I tried to insert the following statements in Modelica argorithm section: if abs(x-x_b) <= 0.01 then x := x_b + 0.01; end if; of cource, as you expected, Activate issued the error: system is overdetermined. Regards, Minoru Yubuchi
  4. Dear Experts, When I ran a Modelica script through MoCustomBlock in Activate, Activate issued the following error: [fmi2GetEventIndicators]: Error at t=7.5262725398123784e+000: index-1 and derivative evaluation failure Failed in updating zero-crossing surfaces. In what case, is this error issued and what should I fix generally? Regards, Minoru Yubuchi
  5. Dear Experts, I would like to know how to switch two Modelica blocks based on a situation of the simulation. For example, please assume two SpringDamper blocks, A and B are contained in an Actibvate model which are applied at the same location. SpringDamper block (A or B)used in the simulation is decided based on situation of simulation and might be changed during the simulation. I created a model (attached) where MoCustomComponent based on Spring is used. In the model, spring constant of the Spring block can be switched during simulation but Spring block cannot be switched in this way? Are there any ways to switch Modelica blocks? Regards, Minoru Yubuchi Model5.scm
  6. Dear Experts, Please let me know how I can find a time when a result reaches a target in Activate. For example, in the simple model attached (sample.acm), the result reaches 70.0 at around 10.0 sec. I want to know the 10.0 from the 70.0, and to display it using Display block within diagram. I built a model for it (sample_mod.acm) but it looks redundant. Are there any smarter way? Thanks, Minoru Yubuchi Sample.scm Sample_mod.scm
  7. Fady, Thank you so much! Let me ask you one question. The original script of Modelica Mass block in Activate has a line "parameter SI.Mass m(....", not "parameter Modelica.SIunits.Mass m(...." as you mentioned. Why does the original script not issue any errors? Regards, Minoru Yubuchi
  8. Dear Experts, I built a simple model that contains a MoCustomComponent block that represent a mass (see attached Activate model). The script in the block is just copied from Mass modelica block. The model issued the error (see the picture attched). What should I modify? Thanks, Minoru Yubuchi Samples_Modelica.scm
  9. Fady, Thank you so much for the detailed information. Regards, Minoru Yubuchi
  10. Ronald, Thank you! We guessed that the problem related to activation, but I don't know that there is such an option in OmlCustomBlock. Regards, Minoru Yubuchi
  11. Dear experts, I built a very simple model in Activate using OmlCustomBlock that represents an 1dof spring-mass-damper model (see attched scm file). It works when SineWaveGenerator is used as a force, but not for Step Generator. Please let me know what I should modify. Reagards, Minoru Yubuchi Samples_OML.scm
  12. Dear exparts, Does anybody have a Modelica sample model where a position is caluculated from current as an input. I would like to model a linear motor (voice coil motor), where the calculation is a result from a combination among electrical, magnetic and mecanics. Thanks, Minoru Yubuchi
  13. Hai and Livio, Thank you for the advices. I changed the default working directory as your advices, then created a new model and tried to saved it, but the model was not saved in the directory (see the picture attached). Please let me know what I did wrong. Thanks, Minoru Yubuchi
  • Create New...