Simhydraulics: Pressure distribution over the entire circuit
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
0 votos
Comparte un enlace a esta respuesta
- Go to Model Configuration Parameters (Ctrl+E) > Data Import/Export Pane
- Set the "Output options" to "Produce specified output only" ( doc link )
- Set the "Output times" to your time vector to, e.g., 10:0.001:11
- Place a motion sensor on the cylinder and measure its position. Put this through a 10 ms Transport Delay block since you want to start logging 10 ms AFTER the event.
- When the output of that block is greater than the max piston displacement, have Simulink output "true" and then feed that into an Enabled Subsystem.
- Inside the Enabled Subsystem block, pass in the measured pressure value into, e.g., a To Workspace block.
7 comentarios
Comparte un enlace a este comentario
- Use the output options I mentioned in my original post, and force data to be logged at your known time of 20.71. This requires you to know the time beforehand, but it's an easy solution if you do.
- Take whatever data values come out and interpolate them in MATLAB
- Set up logic on the cylinder's measured position, as I also mentioned in the first post. This will force Simulink to take additional time steps around the event you are looking for, thus increasing the likelihood that you'll get data right around the time without you having to know it beforehand. Here's a screenshot:

Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Sources en Centro de ayuda y File Exchange.
Productos
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
