WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

negative Impedanz

 

lowlix

Gast


Beiträge: ---
Anmeldedatum: ---
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 20.03.2012, 18:08     Titel: negative Impedanz
  Antworten mit Zitat      
Hallo,

ich benötige für ein (thermisches) Modell eine negative (thermische) Impedanz. Das Ganze ist physikalisch natürlich ziemlicher Blödsinn, modelliert in meinem Fall aber den Sachverhalt der Theorie gut. In Simscape dürfen Widerstände allerdings nur positive Werte annehmen. Ich würde gerne den Quellcode von einem normalen (thermischen) Widerstand so umschreiben, dass dieser negative Werte für Widerstände annehmen kann und danach als neues Element meiner Bibliothek hinzufügen. Leider habe ich darin keinerlei Erfahrung und hoffe hiermit auf Hilfe! Smile

vielen Dank schonmal


AndreM
Forum-Newbie

Forum-Newbie


Beiträge: 4
Anmeldedatum: 19.03.12
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 20.03.2012, 19:11     Titel:
  Antworten mit Zitat      
Hi,

dies hier hilft evtl. weiter: http://www.mathworks.de/help/toolbo.....scape/lang/brnot06-2.html

Zudem einfach im Modell "Rechtsklick" auf den Block und "Viev Simscape Source" und den Quellcode anschauen.

Code:

component conduction < foundation.thermal.branch
% Conductive Heat Transfer
% The block represents heat transfer by conduction through a layer of
% material. The transfer is governed by the Fourier law and is directly
% proportional to the material thermal conductivity, area normal to the
% heat flow direction, temperature difference, and is inversely
% proportional to the thickness of the layer.
%
% Connections A and B are thermal conserving ports associated
% with material layers. The block positive direction is from
% port A to port B. This means that the heat flow is positive if it flows
% from A to B.  

% Copyright 2005-2008 The MathWorks, Inc.

  parameters
    area = { 1e-4, 'm^2' };         % Area
    thickness = { 0.1, 'm' };       % Thickness
    th_cond = { 401, 'W/(m*K)' };   % Thermal conductivity
  end
       
  function setup
    % Parameter range checking
    if area <= 0
      pm_error('simscape:GreaterThanZero','Area'),
    end
    if thickness <= 0
      pm_error('simscape:GreaterThanZero','Thickness')
    end
    if th_cond <= 0
      pm_error('simscape:GreaterThanZero','Thermal conductivity')
    end
  end

  equations
    Q == area * th_cond * T /thickness;
  end
   
end
 


Da sollte sich die entsprechende Zeile finden und für den neu erstellten Block (nach obiger Anleitung) ändern lassen.
Private Nachricht senden Benutzer-Profile anzeigen
 
Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum nicht posten
Du kannst Dateien in diesem Forum nicht herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.