Skip to main content
1-Visitor
August 10, 2020
Question

Coupling Mashup with Digital Twin

  • August 10, 2020
  • 1 reply
  • 5290 views

Hello,

 

I have a technical question.

Here is the summary of what I am doing: I have an ANSYS Twin Model Connected to PTC on ANSYS Twin Builder using PTC Connector. The twin model has 1 input and 3 outputs. I was approaching the problem on 2 phases:

1- Using PTC "Thing" I can change the input, and the output change and I can see the update on the Mashup working fine (not continous update ofcurse)

2- Now, to make the work more realistic, I need to connect the physical model, to the twinbuilder to PTC. I origionally can run my physical twin using a Python code, and I can see the changes on the twin model.

I updated the Python code, so it connect to PTC and run the work. which seems to work. However, the issue here is the updates I see on the twin builder and on the python code, I do not see on the mash up.

 

I am connecting the gagues in the Mashup using the getproperties and setproperties. Am I missing somethig here that is needed as I am attachimg the physical model?

 

Please advise

Ahmed

1 reply

16-Pearl
August 11, 2020

I am not familiar with ANSYS digital twin. So, I will try to help you on the ThingWorx part. In the mashup builder, if you click GetProperties, you will see under Data Properties tab there is a check box for Automatically update values when able. Could you please check this and test?

 

rjanardan_0-1597144628824.png

 

Ghandour1-VisitorAuthor
1-Visitor
August 11, 2020

@rjanardan 

 

Thanks for your input.  I tried what you suggested, but it did not worl. Actually it affected the Mashup Gauges for the output and it shows nothing now. 

BTW, in my mash up, I have a numeric Entry to manually enter the input, do you think I should remove that now?

 

Ahmed 

Ghandour1-VisitorAuthor
1-Visitor
August 11, 2020

I have a nother question, I am trying to add to my mashup the data coming from a power supply (the current I set and the output voltage). Do I need to create a special 'Thing" Or another tool should be used for this purporse.

 

Thanks,
Ahmed