How to use Flexible Report Template for Non-Wizard Two Wheeler Model ?

User: "TheConvolutedMind"
Altair Community Member
Updated by TheConvolutedMind

How can I integrate the already available report template in non-wizard two wheeler model in MotionView ?

I want to do this so that I don't have to plot different parameters after every iteration. Please help.

Sort by:
1 - 1 of 11
    User: "Praful"
    Altair Employee
    Accepted Answer
    Updated by Praful

    Hello Praful Sir,

    I tried doing the same.. Unfortunately, I was not able to find the *Report() statement in the mdl.

    I have attached the .mdl file herewith. Can you please check.

    The *Report() statement that I found in .reports file is as follows:-

    </code><code>*Report(rep_ma_driver_twoWhl, Driver Report__________WizardModel__________D:/MultiBody Simulation/WizardModel.xml__________, repdef_ma_driver_truck, "D:/MultiBody Simulation/WizardModel.plt", "D:/MultiBody Simulation/WizardModel.h3d", 70000122, 70000048, 70000125, 70000126, 70000128, 70000129, 70000069, 70000131, "WizardModel", "Altair-Driver Event")

     

    How do I modify this as per my need?

    Many Thanks ❤️

     
     

    Hi Aditya - The report statement that you are looking for is within the AltairDriver system, altair_driver_system.mdl that is in the MotionView install at

    C:\Program Files\Altair\2022.2\hwdesktop\hw\mdl\mdllib\Libs\Tasks\AltairDriver

          *Report( rep_ma_driver_twoWhl, "Driver Report" + "__________" + Solver_Filename.base + "__________" + Solver_Filename.value + "__________", repdef_ma_driver_truck, { getenv("ALTAIR_HOME") + "/hw/mdl/mdllib/Libs/Tasks/AltairDriver/Driver_report_template.tpl"}, 
                                                                                        model.sys_misc.ds_report_ms.plt_file.value, 
                                                                                        model.sys_misc.ds_report_ms.result_file.value, 
                                                                                        o_driver_outputs.id, 
                                                                                        sys_instrumentation.cg_disp.id, 
                                                                                        o_inputs_2.id, 
                                                                                        o_driver_inputs_3.id, 
                                                                                        o_driver_req_long_control.id, 
                                                                                        o_driver_req_steer_control.id,
                                                                                        sys_frnt_suspension.sys_frnt_suspension_type.str_req.id,
                                                                                        o_driver_req_steer_control_feedback.id,
                                                                                        Solver_Filename.base,
                                                                                        "Altair-Driver Event" )  

    For your non-wizard model, are you using AltairDriver or your own driver ? Can you use the AltairDriver on your model ?

    Note the arguments highlighted refer to entities either within the model or within the AltairDriver system. You need an equivalent replacement for these so that the same report template to work.

     

    Alternatively, if you have outputs defined in your model and plots work for you, you can save the plots in the session as a report template and use that  report template in the *Report statement.

    regards

    Praful