{"action":"closed","issue":{"url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/1266","repository_url":"https://api.github.com/repos/lbl-srg/modelica-buildings","labels_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/1266/labels{/name}","comments_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/1266/comments","events_url":"https://api.github.com/repos/lbl-srg/modelica-buildings/issues/1266/events","html_url":"https://github.com/lbl-srg/modelica-buildings/issues/1266","id":374564080,"node_id":"MDU6SXNzdWUzNzQ1NjQwODA=","number":1266,"title":"Wrong results in JMODELICA","user":{"login":"sewtian","id":35269611,"node_id":"MDQ6VXNlcjM1MjY5NjEx","avatar_url":"https://avatars1.githubusercontent.com/u/35269611?v=4","gravatar_id":"","url":"https://api.github.com/users/sewtian","html_url":"https://github.com/sewtian","followers_url":"https://api.github.com/users/sewtian/followers","following_url":"https://api.github.com/users/sewtian/following{/other_user}","gists_url":"https://api.github.com/users/sewtian/gists{/gist_id}","starred_url":"https://api.github.com/users/sewtian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sewtian/subscriptions","organizations_url":"https://api.github.com/users/sewtian/orgs","repos_url":"https://api.github.com/users/sewtian/repos","events_url":"https://api.github.com/users/sewtian/events{/privacy}","received_events_url":"https://api.github.com/users/sewtian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-26T22:11:33Z","updated_at":"2018-10-27T22:42:31Z","closed_at":"2018-10-27T22:42:31Z","author_association":"NONE","body":"Dear Michael,\r\n\r\nI was trying to use JMODELICA 2.4 to simulate a simple example `Buildings.Fluid.FixedResistances.Examples.PressureDrop`. I only changed the `duration` in `P` from 1 second to 100 seconds.\r\n\r\nHere is my code:\r\n```modelica\r\nmodel test_resistance \"test the pressure drop model in Buildings library\"\r\n  extends Buildings.Fluid.FixedResistances.Examples.PressureDrop(\r\n    P.duration=100);\r\nend test_resistance;\r\n```\r\nHere is the setting in JMODELICA\r\n```python\r\n...\r\nfmu_model = compile_fmu(model_name,mo_file)\r\nfmu_obj = load_fmu(fmu_model)\r\nres = fmu_obj.simulate(final_time=100)\r\n...\r\n```\r\nHere is the plotting of mass flow rate through the pipe, which is seemingly incorrect:\r\n![image](https://user-images.githubusercontent.com/35269611/47594673-747daa00-d94a-11e8-8cb2-0843c323c14a.png)\r\n\r\nDo you have any idea why? or, did you have this problem before?"}}
{"actor":{"display_login":"sewtian"}}