Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Python API
  4. how to normalize in Simulation Combiner ?

how to normalize in Simulation Combiner ?

Scheduled Pinned Locked Moved Python API
2 Posts 2 Posters 365 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rediponi
    wrote on last edited by rediponi
    #1

    I have run a multi-port EM simulation. My aim is to use the python API to generate a simulation combiner with contribution from several channels, then extract the EM field.
    1- How can we normalize the Total power in the simulation combiner and set a target power ?
    2- Under the simulation combiner, after creating a sensor combiner how can we set the Normalized power and choose reference (EM input Power / Conducted power) ?

    When i try to to use to python tool to generate script for normalized and non-normalized cases, i observe no difference in the generated script

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AmphoePai
      wrote on last edited by
      #2

      This might be an old question, but I have just stumbled accross this problem and solution recently. Someone reading this in the future might find it helpful. The code you were looking for is the following:

      #Sources
      heat_source = thermal_sim.AddHeatSourceSettings(em_sim.OverallFieldSensor)
      heat_source.NormalizeToInputPower = True
      heat_source.PowerScaleFactor = 6, units.Watts
      

      Assuming you want 6W of power, of course.

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Search