{"action":"created","issue":{"url":"https://api.github.com/repos/Qucs/qucs/issues/416","labels_url":"https://api.github.com/repos/Qucs/qucs/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/Qucs/qucs/issues/416/comments","events_url":"https://api.github.com/repos/Qucs/qucs/issues/416/events","html_url":"https://github.com/Qucs/qucs/pull/416","id":128610532,"number":416,"title":"CAPQ and INDQ models","user":{"login":"andresmmera","id":13180689,"avatar_url":"https://avatars.githubusercontent.com/u/13180689?v=3","gravatar_id":"","url":"https://api.github.com/users/andresmmera","html_url":"https://github.com/andresmmera","followers_url":"https://api.github.com/users/andresmmera/followers","following_url":"https://api.github.com/users/andresmmera/following{/other_user}","gists_url":"https://api.github.com/users/andresmmera/gists{/gist_id}","starred_url":"https://api.github.com/users/andresmmera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresmmera/subscriptions","organizations_url":"https://api.github.com/users/andresmmera/orgs","repos_url":"https://api.github.com/users/andresmmera/repos","events_url":"https://api.github.com/users/andresmmera/events{/privacy}","received_events_url":"https://api.github.com/users/andresmmera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-25T18:54:11Z","updated_at":"2016-01-25T22:03:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Qucs/qucs/pulls/416","html_url":"https://github.com/Qucs/qucs/pull/416","diff_url":"https://github.com/Qucs/qucs/pull/416.diff","patch_url":"https://github.com/Qucs/qucs/pull/416.patch"},"body":"Hello, \r\n\r\nThis PR adds two components to the \"Lumped Components\" palette. INDQ and CAPQ components mimic the S-param behaviour of inductances/capacitors whose quality factor is finite. So far, these models can only work with the S-param simulation. Regarding the implementation, the S matrix is derived from the ABCD matrix, which is easily calculated from the impedance of a series LR/CR circuit.\r\n\r\nThese components also include three frequency weighting profiles that determine the value of the series resistor versus frequency.\r\n\r\nRegards\r\n\r\n![selection_012](https://cloud.githubusercontent.com/assets/13180689/12560594/ecdb821e-c39b-11e5-93ca-d57fb5d6121e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Qucs/qucs/issues/comments/174687921","html_url":"https://github.com/Qucs/qucs/pull/416#issuecomment-174687921","issue_url":"https://api.github.com/repos/Qucs/qucs/issues/416","id":174687921,"user":{"login":"andresmmera","id":13180689,"avatar_url":"https://avatars.githubusercontent.com/u/13180689?v=3","gravatar_id":"","url":"https://api.github.com/users/andresmmera","html_url":"https://github.com/andresmmera","followers_url":"https://api.github.com/users/andresmmera/followers","following_url":"https://api.github.com/users/andresmmera/following{/other_user}","gists_url":"https://api.github.com/users/andresmmera/gists{/gist_id}","starred_url":"https://api.github.com/users/andresmmera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresmmera/subscriptions","organizations_url":"https://api.github.com/users/andresmmera/orgs","repos_url":"https://api.github.com/users/andresmmera/repos","events_url":"https://api.github.com/users/andresmmera/events{/privacy}","received_events_url":"https://api.github.com/users/andresmmera/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T22:03:25Z","updated_at":"2016-01-25T22:03:25Z","body":"@in3otd Hell, PROP_NO_VAL=\"Proportional to freq\" should not be there...\r\nI'm gonna apply your suggestions tomorrow (now, I need to sleep) (I *completely* agree with you). Thank you for taking a look to the code.\r\n\r\n*we may need to add a \"RF components\" (or similar) tab to the GUI, as I guess more models like this could/should be done in the future (what about L with parasitic Rs and Cp, C with parasitic Ls and Rp or a transmission-line model for coils?); the \"lumped components\" tab is becoming a bit too crowded*\r\n\r\nI've started coding models equivalents circuit of planar spiral inductances, MIM and interdigital capacitors. The procedure is much the same: EC -> ABCD matrix -> S/Y matrix. I'd like to implement this stuff in Verilog-A since it seems to be clearer. Unfortunately, it seems that frequency dependent parameters are not supported... \r\n\r\nBesides this, I've noticed that Murata provides quite accurate models for their capacitors and inductances. I totally ignore copyright issues but it would be so nice to bring them to Qucs. \r\nTake a look to http://ds.murata.co.jp/software/simsurfing/en-us/index.html?intcid5=com_xxx_xxx_cmn_nv_xxx# . If you select a part, a button on the top takes you to the EC netlist. It's quite cool"}}