MATLAB: The meaning of gray square port

Simscapesimulink

I want to connect a DC voltage source to a converter, while the port of DC source is gray square and the port of converter is blank square. Could anyone tell me the meaning of gray square port and where I can find a DC voltage source with blank square port?

Best Answer

As per my knowledge there are multiple DC voltage sources available in Simulink and Simscape for physical modelling.
Above one with the Gray filled square terminals are the ideal voltage source maintains a constant voltage across its output terminals, independent of the current flowing through the source. Here the output voltage is defined by a constant voltage parameter. Refer to the documentation for further details on the "Ideal constant voltage source"
The one mention above is the Ideal DC Voltage source which has the white filled square terminals. Refer to the documentation for further details on the "ideal DC voltage source"