The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Hello, I am using Altair Activate to simulate a reduced order task. My model is a linear model and after training the model, I have two input variables (two columns) based on which the result is predicted (ideally the output will be one column of data). I am using the FromCSV palette as input and the ToCSV palette as output. But these two are time-dependent whereas my model is a linear model. The output I am getting is a single value instead of a column of data. Please help me with the input and output palette options where I think I am making a mistake. I have attached an image for your reference. Thanks in advance.
Hi Abhijith,
In that case, you can use both 'csvread' and 'csvwrite' functions on OML Initialization and Finalization sections, respectively:
I attached the model that should work for your purposes. Please, don't forget to change to your own directory path.
Hope it helps you,
João.
Hi João Marabisa,
Thanks for your quick reply and help. I tried the workflow as suggested where the inputs work fine but the output still prints out only one data where I'm expecting a column of data. Please advise on the same. I have attached an image for your reference.
I have also attached an instance evaluation graph from romAI, where the pressure_coefficient (output) has multiple data after training as expected. I'm looking to recreate the same with different inputs.
The error I get is: Error: Incompatible port sizes in function setio at line number 175 in file MatrixConcatenation.oml
I really appreciate your time and help.
Thanks.
Abhijith
Hi João Marabisa, Thanks for your quick reply and help. I tried the workflow as suggested where the inputs work fine but the output still prints out only one data where I'm expecting a column of data. Please advise on the same. I have attached an image for your reference. I have also attached an instance evaluation graph from romAI, where the pressure_coefficient (output) has multiple data after training as expected. I'm looking to recreate the same with different inputs. The error I get is: Error: Incompatible port sizes in function setio at line number 175 in file MatrixConcatenation.oml I really appreciate your time and help. Thanks. Abhijith
I think your "Display" block is working as expected. You have a single variable (Pressure_Coefficient2) that is varying, so it is expected to see just one value on Display block.
Please try to use the "ToCSV" block, you should see a complete column of all the values that were calculated through "n-Xaxis":
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…